A repository dedicated to helping developers contribute to Hacktoberfest 2025 by solving the famous LeetCode 75 problems. This is a perfect place for beginners and experienced developers alike to practice algorithms and data structures while participating in Hacktoberfest!
LeetCode 75 is a curated list of 75 essential coding problems that cover fundamental data structures and algorithms frequently asked in technical interviews. This collection is designed to build your problem-solving skills progressively.
Click the "Fork" button at the top right of this page to create your own copy.
Browse the list of problems below and pick one that hasn't been solved yet, or add your solution to an existing problem.
- Create a new file in the appropriate topic folder
- Naming convention:
QuestionName_username.extension - Example:
Two_Sum_johndoe.pyorReverse_Linked_List_janedoe.java
- Create a pull request from your forked repository to this main repository
- Make sure your PR description clearly indicates which problem you've solved
- PRs will be reviewed and merged regularly
- Merge Strings Alternately
- Greatest Common Divisor of Strings
- Kids With the Greatest Number of Candies
- Can Place Flowers
- Reverse Vowels of a String
- Reverse Words in a String
- Product of Array Except Self
- Increasing Triplet Subsequence
- String Compression
- Move Zeroes
- Is Subsequence
- Container With Most Water
- Max Number of K-Sum Pairs
- Maximum Average Subarray I
- Maximum Number of Vowels in a Substring of Given Length
- Max Consecutive Ones III
- Longest Subarray of 1's After Deleting One Element
- Find the Highest Altitude
- Find Pivot Index
- Find the Difference of Two Arrays
- Unique Number of Occurrences
- Determine if Two Strings Are Close
- Equal Row and Column Pairs
- Asteroid Collision
- Decode String
- Removing Stars From a String
- Number of Recent Calls
- Dota2 Senate
- Reveal Cards In Increasing Order
- Delete the Middle Node of a Linked List
- Odd Even Linked List
- Reverse Linked List
- Maximum Twin Sum of a Linked List
- Binary Search
- Search a 2D Matrix
- Koko Eating Bananas
- Find Peak Element
- Minimum Number of Days to Make m Bouquets
- Root Equals Sum of Children
- Count Good Nodes in Binary Tree
- Path Sum III
- Longest ZigZag Path in a Binary Tree
- Lowest Common Ancestor of a Binary Tree
- Maximum Level Sum of a Binary Tree
- Binary Tree Right Side View
- Maximum Width of Binary Tree
- Keys and Rooms
- Number of Provinces
- Reorder Routes to Make All Paths Lead to the City Zero
- Evaluate Division
- Nearest Exit from Entrance in Maze
- Kth Largest Element in a Stream
- Last Stone Weight
- K Closest Points to Origin
- Smallest Number in Infinite Set
- Maximum Subsequence Score
- Total Cost to Hire K Workers
- Search in a Binary Search Tree
- Delete Node in a BST
- Trim a BST
- Lowest Common Ancestor of a Binary Search Tree
- Subsets
- Combination Sum III
- Letter Combinations of a Phone Number
- N-Queens
- Implement Trie (Prefix Tree)
- Search Suggestions System
- Word Search II
- Non-overlapping Intervals
- Minimum Number of Arrows to Burst Balloons
- N-th Tribonacci Number
- Min Cost Climbing Stairs
- House Robber
- House Robber II
- Longest Palindromic Substring
- Palindromic Substrings
- Unique Paths
- Longest Common Subsequence
- Best Time to Buy and Sell Stock with Transaction Fee
- Edit Distance
- Coin Change
- Coin Change II
- Maximum Profit in Job Scheduling
- Counting Bits
- Single Number
- Minimum Flips to Make a OR b Equal to c
We welcome solutions in any programming language! Some popular choices:
- Python (.py)
- Java (.java)
- C++ (.cpp)
- JavaScript (.js)
- TypeScript (.ts)
- Go (.go)
- Rust (.rs)
- C# (.cs)
- And many more!
- One PR per problem: Please submit separate PRs for different problems
- Quality over quantity: Well-commented, efficient solutions are preferred
- Test your code: Make sure your solution passes all test cases
- Follow naming conventions: Use the format
QuestionName_username.extension - Add comments: Explain your approach and time/space complexity
- No duplicate solutions: Check if a problem already has a solution in your language before submitting
- Sign up on the Hacktoberfest website
- Make 4 valid pull requests between October 1-31
- PRs must be in a participating public repository
- PRs must be approved by maintainers to count
Please be respectful and constructive in all interactions. We're here to learn and help each other grow as developers.
Check the checkboxes above to see which problems have been solved! The list will be updated as contributions come in.
- Check existing solutions for reference
- Open an issue if you have questions
- Join the discussion in pull requests
Happy Coding! π Let's make Hacktoberfest 2025 amazing!
Remember: The goal is learning and collaboration, not just completing challenges.