This repository is organized into logical folders for easy navigation and learning.
Algorithm implementations and LeetCode-style problems
- Searching: Binary Search
- Sorting: Bubble Sort, Insertion Sort, Merge Sort, Tim Sort
- LeetCode Problems: Two Sum, Three Sum, Valid Parentheses, etc.
- Dynamic Programming: Climbing Stairs, Coin Change, Max Subarray
- String Algorithms: Longest Common Prefix, Reverse Integer, Palindrome Number
- Advanced: Suffix Automation, Stock Trading Problems
Files:
binary_search.py- Binary search implementations (iterative, recursive)BubbleSort.py- Bubble sort algorithmInsertion_Sort.py- Insertion sort with test casesMergeSort.py- Merge sort implementationtim_sort.py- Tim sort algorithm2sum.py- Two sum problem3sum.py- Three sum problemClimbing_Stairs.py- Dynamic programming problemCoin_change_problem.py- Coin change DP problemMax_Subarray.py- Maximum subarray (Kadane's algorithm)Longest_Common_Prefix.py- String matching problemMerge_Two_Sorted_Lists.py- Linked list mergingValid_Parentheses.py- Stack-based validationReverseInteger.py- Integer reversalPalindromeNumber.py- Palindrome checkingBest_Time_to_buy_and_sell_Stocks.py- Stock trading problemsufix_automation.py- Advanced string data structure
Custom data structure implementations
⚠️ Note: This folder was created for data structure implementations but currently contains no files. The original files were empty placeholders and have been removed. Feel free to contribute implementations of:
- Stack and Queue operations
- Linked List implementation
- Hash Table/Dictionary operations
- Graph traversal algorithms (BFS/DFS)
- Tree structures (Binary Trees, BST, AVL, etc.)
- Heap implementations
Fundamental Python programs for beginners
- Mathematical operations (factorial, fibonacci, prime numbers)
- String operations
- Number operations
- Basic arithmetic programs
- Dictionary operations
Files:
Factorial.py- Factorial calculations (recursive, iterative, memoization)Fibonacci.py- Fibonacci sequence (multiple approaches)Check_Prime.py- Prime number checkingCheck_Palindrome.py- Palindrome validationArmstrong Number.py- Armstrong number checkerleap_year.py- Leap year validationarea_of_triangle.py- Calculate triangle areaFind HCF or GCD.py- GCD calculationgreatest.py- Find greatest of numbersLargest_Number_of_three.py- Find largest of threecounting_numbers.py- Number counting programsString_Reverse.py- String reversalStrings_Concetenation.py- String concatenationInteger_Addition.py- Integer additionFloating_Number_Addition.py- Float additionArgument_Addition.py- Variable arguments additionComplex_Number.py- Complex number operationsList_Element_Sum.py- Sum list elementsList_Elementwise_Addition.py- Element-wise list additionMatrix_Addition.py- Matrix additionPython program to find the sum of all items in a dictionary.pyPython – Convert key-values list to flat dictionary.pyPython – Extract Unique values dictionary values.py
Interactive games and fun projects
- Guess the number game
- Rock Paper Scissors
- Mad Libs generator
- Snake Game (complete with components)
- Turtle Crossing Game
Folders:
Snake Game/- Complete snake game implementationTurtleCrossingGame/- Turtle crossing game with graphics
Files:
Guess_the_number_game.py- Number guessing gamerock_paper_scissor.py- Rock Paper Scissors gamemad_libs_generator.py- Mad Libs text game
Web scraping and data extraction
- Quote scraper
- Image downloader
- Web data extraction tools
Folders:
image downloader/- Bulk image downloading toolImage_Scrapper/- Image scraping utility
Files:
quote_scraper.py- Scrape quotes from websites
Useful utility programs and tools
- Username and password generators
- Interactive dictionary
- Library management system
- Music player
- File operations
Files:
username_generator.py- Generate usernamespassword_strength_checker.py- Validate password strengthinteractive_dictionary.py- Dictionary lookup toollibraryy.py- Library management systemmusicplayer.py- Music player applicationReadingwriting.py- File I/O operations
Advanced Python programming concepts
- Object-Oriented Programming (OOP)
- Design Patterns (Decorators)
- Regular Expressions
- JSON handling
- File system operations
Files:
oop_concepts.py- Complete OOP guide (inheritance, polymorphism, encapsulation)decorator_patterns.py- Python decorators (timer, memoization, retry, etc.)regex_patterns.py- Regular expressions guide and utilitiesjson_handler.py- JSON parsing, validation, and manipulationfile_system_operations.py- File and directory management
Competitive programming solutions
- Contest problems
- Algorithm challenges
File handling operations
- File I/O basics
- File manipulation problems
Subfolders:
basics/- Basic file operationsproblems/- File handling challenges
Additional programming problems and solutions
- Various coding challenges
- Algorithm implementations
- Data structure problems
Complete project: Health management application
- Start with
basic_programs/- Learn fundamental Python concepts - Move to
algorithms/- Understand common algorithms - Explore
data_structures/- Learn how data structures work - Try
games/- Build fun interactive projects
- Study
advanced_concepts/- Master advanced Python features - Practice with
Competitive_program/- Solve competitive problems - Build projects in
utilities/andweb_scraping/
- Each folder contains working programs you can run and modify
- Most files include comprehensive documentation and examples
- Test cases are included where applicable
# Navigate to any folder
cd algorithms
# Run a program
python binary_search.py
# Or on Windows
python binary_search.py- Snake_case: Most files (e.g.,
binary_search.py) - PascalCase: Some legacy files (e.g.,
BubbleSort.py) - Descriptive names indicating functionality
Feel free to:
- Add new programs to appropriate folders
- Improve existing implementations
- Add documentation and comments
- Create new folders for new categories
- All programs are written in Python 3
- Most programs are standalone and can run independently
- Some programs may require external libraries (see requirements.txt if available)
- Game folders contain multiple files that work together
Happy Coding! 🎉