Skip to content

harshkumar-2005/DSA-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

README.md

Harshkumar-2005-DSA-Program Repository

Welcome to the Harshkumar-2005-DSA-Program Repository, a comprehensive collection of Data Structures and Algorithms (DSA) problems implemented in C++. This repository is designed to help students, enthusiasts, and professionals understand and practice DSA concepts.


Table of Contents


About

This repository serves as a resource to:

  • Learn and implement common DSA problems.
  • Understand problem-solving strategies for competitive programming and interviews.
  • Practice and improve coding skills in C++.

Each topic is organized into separate folders with clearly named files representing individual problems.


Directory Structure

harshkumar-2005-DSA-program/ ├── README.md # Project Overview ├── Data structure And Algorithm/ # Core DSA implementations │ ├── ArrayCPP/ # Array-based problems │ ├── Bit_magic/ # Bit manipulation problems │ ├── Mathematics/ # Mathematical algorithms │ └── RecusionCPP/ # Recursive problem-solving ├── Documentation/ # Notes and theoretical resources └── Tests/ # Test cases for algorithms

Key Folders:

  • ArrayCPP/: Array manipulation problems (e.g., sorting, rotation, prefix sums).
  • Bit_magic/: Bit manipulation techniques and algorithms.
  • Mathematics/: Fundamental math problems (e.g., GCD, prime numbers).
  • RecusionCPP/: Problems solved using recursion techniques.

How to Use

  1. Clone the Repository:
    git clone https://github.com/harshkumar-2005/DSA-program.git
    
  2. Navigate to a Topic:

cd "Data structure And Algorithm/ArrayCPP/"

  1. Compile and Run a Program:

g++ LargestElementInAnArray.cpp -o LargestElement ./LargestElement

  1. Explore Documentation: Check the Documentation/ folder for theoretical notes.

Topics Covered

  1. Arrays

Sorting and searching.

Prefix sum and sliding window techniques.

Common interview problems.

  1. Bit Manipulation

Checking bits, shifts, and advanced bitwise operations.

Efficient solutions for power of 2 and odd-occurring numbers.

  1. Mathematics

Prime numbers, factors, and modular arithmetic.

Efficient GCD, LCM, and power calculations.

  1. Recursion

Solving problems using recursive approaches.

Classic problems like Tower of Hanoi and subset generation.


Contributing

We welcome contributions to enhance this repository. To contribute:

  1. Fork the repository.

  2. Create a new branch for your feature or fix.

  3. Commit your changes with clear messages.

  4. Submit a pull request.

Please follow coding standards and include comments for better readability.


License

This repository is licensed under the MIT License. Feel free to use, modify, and distribute the code with proper attribution.


Contact

For queries or suggestions, feel free to reach out via GitHub issues.

Happy Coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages