Skip to content

brenoepics/Algorithm-Challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Challenges

Important

This repository contains a collection of coding challenges with solutions, including links to LeetCode and LintCode problems. Whether you're a beginner or an experienced coder, these challenges are designed to enhance your problem-solving skills and algorithmic thinking.

Getting Started

  • Each challenge is categorized by difficulty: Easy, Medium, or Hard.
  • Click on the LeetCode or LintCode links to access the problem statement and submit your solution.
  • Solutions are provided in this repository (resources folder) to help you learn and compare your approach. (if missing, feel free to open an issue or pull request)

Challenges Table

Name Link Difficulty Resolution
1. Two Sum Static Badge easy Two Sum Solution by @Kjur0
2. Add Two Numbers Static Badge medium
4. Median of Two Sorted Arrays Static Badge hard
5. Longest Palindromic Substring Static Badge medium
7. Reverse Integer Static Badge medium Reverse Integer Solution by @Kjur0
11. Container With Most Water Static Badge medium
12. Integer to Roman Static Badge medium
13. Roman to Integer Static Badge easy
14. Longest Common Prefix Static Badge easy
15. 3Sum Static Badge medium
18. 4Sum Static Badge medium
20. Valid Parentheses Static Badge easy
21. Merge Two Sorted Lists Static Badge easy
22. Generate Parentheses Static Badge medium
23. Merge k Sorted Lists Static Badge hard
25. Reverse Nodes in k-Group Static Badge hard
27. Remove Element Static Badge easy
31. Next Permutation Static Badge medium
33. Search in Rotated Sorted Array Static Badge medium
35. Search Insert Position Static Badge easy
48. Rotate Image Static Badge medium
52. N-Queens II Static Badge hard
55. Jump Game Static Badge medium
56. Merge Intervals Static Badge medium
57. Insert Interval Static Badge medium
62. Unique Paths Static Badge medium
68. Text Justification Static Badge hard
78. Subsets Static Badge medium
86. Partition List Static Badge medium
88. Merge Sorted Array Static Badge easy
104. Maximum Depth of Binary Tree Static Badge easy
121. Best Time to Buy and Sell Stock Static Badge easy
128. Longest Consecutive Sequence Static Badge medium
136. Single Number Static Badge easy
137. Single Number II Static Badge medium
146. LRU Cache Static Badge medium
185. Department Top Three Salaries Static Badge hard
189. Rotate Array Static Badge medium
198. House Robber Static Badge medium
207. Course Schedule Static Badge medium
210. Course Schedule II Static Badge medium
213. House Robber II Static Badge medium
217. Contains Duplicate Static Badge easy
239. Sliding Window Maximum Static Badge hard
253. Meeting Rooms II Static Badge Static Badge medium
258. Add Digits Static Badge easy
283. Move Zeroes Static Badge easy
300. Longest Increasing Subsequence Static Badge medium
312. Burst Balloons Static Badge hard
329. Longest Increasing Path in a Matrix Static Badge hard
359. Logger Rate Limiter Static Badge Static Badge easy
384. Shuffle an Array Static Badge medium
394. Decode String Static Badge medium
402. Remove K Digits Static Badge medium
424. Longest Repeating Character Replacement Static Badge medium
427. Construct Quad Tree Static Badge medium
540. Single Element in a Sorted Array Static Badge medium
542. 01 Matrix Static Badge medium
567. Permutation in String Static Badge medium
685. Redundant Connection II Static Badge hard
692. Top K Frequent Words Static Badge medium
715. Range Module Static Badge hard
759. Employee Free Time Static Badge Static Badge hard
818. Race Car Static Badge hard
837. New 21 Game Static Badge medium
843. Guess the Word Static Badge hard
844. Backspace String Compare Static Badge easy
862. Shortest Subarray with Sum at Least K Static Badge hard
875. Koko Eating Bananas Static Badge medium
934. Shortest Bridge Static Badge medium
938. Range Sum of BST Static Badge easy
958. Check Completeness of a Binary Tree Static Badge medium
974. Subarray Sums Divisible by K Static Badge medium
975. Odd Even Jump Static Badge hard
1011. Capacity To Ship Packages Within D Days Static Badge medium
1101. The Earliest Moment When Everyone Become Friends Static Badge Static Badge medium
1110. Delete Nodes And Return Forest Static Badge medium
1136. Parallel Courses Static Badge Static Badge medium
1148. Article Views I Static Badge easy
1207. Unique Number of Occurrences Static Badge easy
1249. Minimum Remove to Make Valid Parentheses Static Badge medium
1254. Number of Closed Islands Static Badge medium
1376. Time Needed to Inform All Employees Static Badge medium
1480. Running Sum of 1d Array Static Badge easy
1514. Path with Maximum Probability Static Badge medium
1639. Number of Ways to Form a Target String Given a Dictionary Static Badge hard
1672. Richest Customer Wealth Static Badge easy
1768. Merge Strings Alternately Static Badge easy
1803. Count Pairs With XOR in a Range Static Badge hard
1834. Single-Threaded CPU Static Badge medium
1857. Largest Color Value in a Directed Graph Static Badge hard
1971. Find if Path Exists in Graph Static Badge easy
2007. Find Original Array From Doubled Array Static Badge medium
2101. Detonate the Maximum Bombs Static Badge medium
2332. The Latest Time to Catch a Bus Static Badge medium
2402. Metting Rooms III Static Badge hard
2407. Longest Increasing Subsequence II Static Badge hard
2448. Minimum Cost to Make Array Equal Static Badge hard
2458. Height of Binary Tree After Subtree Removal Queries Static Badge hard
2667. Create Hello World Function Static Badge easy
2713. Maximum Strictly Increasing Cells in a Matrix Static Badge hard

Contributing

If you'd like to contribute more challenges, solutions, or improvements to the README, feel free to open a pull request. Your contributions are highly appreciated!

Happy coding! 💻✨