Skip to content

Latest commit

ย 

History

History
311 lines (247 loc) ยท 9.42 KB

File metadata and controls

311 lines (247 loc) ยท 9.42 KB

๐Ÿงฉ DSA-Patterns-and-Problems Repository

Rainbow Divider

Welcome to the DSA-Patterns-and-Problems Repository!
Repository for learning, practicing, and contributing Data Structures & Algorithms solutions, with a focus on frequent interview patterns. Perfect for Hacktoberfest 2025! ๐Ÿš€

Try out project : Click Here

Rainbow Divider

๐Ÿš€ Getting Started

  1. Fork this repository
  2. Clone it to your local machine:
    git clone https://github.com/<your-username>/<repo-name>.git
  3. To check home page open index.html in project root. To contribute Create a branch for your contribution:
    git checkout -b feature/your-branch-name
    
  4. Add your solution in the appropriate folder (see folder structure below)
  5. Commit your changes:
    git add .
    git commit -m "Add <problem name> solution in <language>"
    
  6. Push your branch and create a Pull Request

Rainbow Divider

๐Ÿ“‚ Folder Structure

DSA-Solutions/
โ”‚
โ”œโ”€โ”€ Arrays/                  
โ”‚   โ”œโ”€โ”€ array.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ LinkedLists/             
โ”‚   โ”œโ”€โ”€ linkedlist.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ StacksAndQueues/         
โ”‚   โ”œโ”€โ”€ stacksqueues.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ Strings/                 
โ”‚   โ”œโ”€โ”€ strings.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ Recursion/               
โ”‚   โ”œโ”€โ”€ recursion.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ BinarySearch/            
โ”‚   โ”œโ”€โ”€ binarysearch.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ Heaps/                   
โ”‚   โ”œโ”€โ”€ heaps.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ BinaryTrees/             
โ”‚   โ”œโ”€โ”€ binarytrees.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ BinarySearchTrees/       
โ”‚   โ”œโ”€โ”€ bst.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ Graphs/                  
โ”‚   โ”œโ”€โ”€ graphs.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ DynamicProgramming/      
โ”‚   โ”œโ”€โ”€ dp.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”œโ”€โ”€ Tries/                   
โ”‚   โ”œโ”€โ”€ tries.html
โ”‚   โ”œโ”€โ”€ Problems/
โ”‚   โ”‚     โ”œโ”€โ”€ problem1.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem2.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem3.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem4.html
โ”‚   โ”‚     โ”œโ”€โ”€ problem5.html
โ”‚
โ”‚
โ”œโ”€โ”€ CSS/                     # All stylesheets here
โ”‚   โ”œโ”€โ”€ index.css
โ”‚   โ”œโ”€โ”€ contact.css
โ”‚   โ”œโ”€โ”€ AllProblems.css
โ”‚   โ”œโ”€โ”€ AllTopics.css
โ”‚   โ”œโ”€โ”€ about.css
โ”‚
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ index.js
โ”‚
โ”œโ”€โ”€ contact.html
โ”œโ”€โ”€ about.html
โ”‚
โ”œโ”€โ”€ Contributing.md
โ””โ”€โ”€ README.md


Rainbow Divider

๐Ÿ“ Contribution Guidelines

  • Ensure your code is clean and well-commented
  • Add sample input/output in the code if applicable
  • Stick to one problem per file
  • PRs should be meaningful (no spam or unnecessary changes)
  • Label issues you solve if available
  • Follow the Hacktoberfest rules: Hacktoberfest Participation

Rainbow Divider

๐Ÿ”– Issues

  • Look for issues labeled: good first issue or hacktoberfest
  • You can also create a new issue if you want to suggest a problem to add

Rainbow Divider

๐ŸŒ Language

- No specific language : pseudo codes to focus on approach  

Rainbow Divider

๐Ÿ”ฎ Future Contribution Goals:

  • Add flowcharts for commonly asked patterns
  • Include explanatory comments or diagrams for tricky problems
  • Add references or links for further reading if needed

Rainbow Divider

๐Ÿ‘‹ Contributors Welcome!

This repository is open for contributions! If you love DSA and want to help others prepare for coding interviews, you can:

  • Add new problems with explanations and pseudo-code
  • Improve existing pages with better formatting, diagrams, or examples
  • Fix broken links, typos, or styling issues

Rainbow Divider

๐ŸŽฏ Hacktoberfest Guidelines

  • Repo must be public and tagged hacktoberfest
  • PRs must be valid contributions
  • Spammy or duplicate PRs will not count

Rainbow Divider

##๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.

Rainbow Divider

๐Ÿค Support

For questions or help, feel free to open an issue in this repo.

Rainbow Divider

โญ Star this repo

If you find this repo useful, please give it a star to help others find it.

Rainbow Divider

๐Ÿ’ป Project Admin

Mrunalini Pachpute
GitHub: @MrunaliniPachpute
Contact: You can open an issue for any questions or help

Rainbow Divider

๐Ÿ‘จโ€๐Ÿ’ป Our Contributors

Contributors

View our contributors : Click Here

Rainbow Divider