https://github.com/dpvasani/pointer-in-cpp
Welcome to the Pointer-In-Cpp repository! This repository is dedicated to exploring and mastering pointers in C++. It includes various code samples and exercises that will help you understand and apply pointer concepts effectively.
https://github.com/dpvasani/pointer-in-cpp
cpp pointer-in-cpp pointers
Last synced: 6 months ago
JSON representation
Welcome to the Pointer-In-Cpp repository! This repository is dedicated to exploring and mastering pointers in C++. It includes various code samples and exercises that will help you understand and apply pointer concepts effectively.
- Host: GitHub
- URL: https://github.com/dpvasani/pointer-in-cpp
- Owner: dpvasani
- Created: 2024-07-06T22:06:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-29T14:43:34.000Z (over 1 year ago)
- Last Synced: 2024-11-12T21:42:42.169Z (about 1 year ago)
- Topics: cpp, pointer-in-cpp, pointers
- Language: C++
- Homepage: https://dpvasani.github.io/Pointer-In-Cpp/
- Size: 7.91 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## 🌐 Socials:
Connect with me :
Welcome to the `Pointer-In-Cpp` repository! This repository is dedicated to exploring and mastering pointers in C++. It includes various code samples and exercises that will help you understand and apply pointer concepts effectively.
# Pointer-In-Cpp
Welcome to the `Pointer-In-Cpp` repository! This repository contains a collection of C++ programs and exercises focused on pointers and related mathematical concepts.
## Overview
| No | Topics Covered | Problems Solved | Solution Links |
|------|------------------------------|---------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
| 1 | Mathematics and Pointers | 1. Count Primes
2. Basic Maths For DSA
3. GCD - HCF
4. Modular Exponentiation For Large Numbers
5. Optimising Sieve Of Eratosthenes
6. Pointer Level I
7. Pointer Level II
8. Pointer Level III
9. Pointer Practice
10. Segmented Sieve | [1. Count Primes](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/204.%20Count%20Primes.cpp)
[2. Basic Maths For DSA](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Basic%20Maths%20For%20DSA.cpp)
[3. GCD - HCF](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/GCD%20-%20HCF.cpp)
[4. Modular Exponentiation For Large Numbers](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Modular%20Exponentiation%20For%20Large%20Numbers.cpp)
[5. Optimising Sieve Of Eratosthenes](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Optimising%20Sieve%20Of%20Eratosthenes.cpp)
[6. Pointer Level I](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Level%20I.cpp)
[7. Pointer Level II](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Level%20II.cpp)
[8. Pointer Level III](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Level%20III.cpp)
[9. Pointer Practice](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Practice.cpp)
[10. Segmented Sieve](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Segmented%20Sieve.cpp) |
## Description of Problems
1. [**Count Primes**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/204.%20Count%20Primes.cpp) - A C++ program to count prime numbers.
2. [**Basic Maths For DSA**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Basic%20Maths%20For%20DSA.cpp) - Basic mathematical operations used in Data Structures and Algorithms.
3. [**GCD - HCF**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/GCD%20-%20HCF.cpp) - Algorithms to compute the Greatest Common Divisor and Highest Common Factor.
4. [**Modular Exponentiation For Large Numbers**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Modular%20Exponentiation%20For%20Large%20Numbers.cpp) - Efficient computation of large number exponentiation with modular arithmetic.
5. [**Optimising Sieve Of Eratosthenes**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Optimising%20Sieve%20Of%20Eratosthenes.cpp) - Optimized version of the Sieve of Eratosthenes algorithm.
6. [**Pointer Level I**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Level%20I.cpp) - Basic pointer exercises.
7. [**Pointer Level II**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Level%20II.cpp) - Intermediate pointer challenges.
8. [**Pointer Level III**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Level%20III.cpp) - Advanced pointer problems.
9. [**Pointer Practice**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Pointer%20Practice.cpp) - Practical exercises on pointers.
10. [**Segmented Sieve**](https://github.com/dpvasani/Pointer-In-Cpp/blob/main/Segmented%20Sieve.cpp) - Segmented Sieve algorithm implementation.
## Leetcode

## How to Use
1. Clone the repository:
```bash
git clone https://github.com/dpvasani/Pointer-In-Cpp.git
```
2. Navigate to the repository directory:
```bash
cd Pointer-In-Cpp
```
3. Compile and run the desired C++ files using a C++ compiler like `g++`.
## Contributing
Contributions are welcome! If you have any suggestions, improvements, or additional exercises, please feel free to submit a pull request or open an issue.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---