Athena Algorithms is a collection of algorithm solutions.
These algorithm solutions are licensed under CC-BY-SA 4.0.
Latest: 57. Valid Palindrome [Java, Python]
- Algorithm Problems
- Array
- Standard
- 1. Array Partition [Java, Python, C++, Golang]
- 31. Minimum Number Game [Java]
- Meaningful Index (
Automatic Sorting)- 34. Sort Array by Increasing Frequency [Java]
- 52. Maximum Number of Pairs in Array [Java, Python]
- 56. Custom Sort String [Java, Python]
- Standard
- Backtracking
- 3. Amount of Time for Binary Tree to Be Infected [Java, Python]
- 29. Power Set LCCI [Java]
- 50. Merge Sort [Java]
- Binary Search
- 32. My Calendar II [Java, Python]
- Conditional Logic
- Depth-first Search
- 29. Power Set LCCI [Java]
- 46. Number of Paths with Max Score [Java]
- 51. Quick Sort [Java]
- 53. Can I Win [Java, Python]
- Dichotomy
- Difference Array
- 5. Jump Game VII [Java]
- 37. Zero Array Transformation II [Java]
- Dynamic Programming
- Standard
- 6. Climbing Stairs [Java]
- 7. Count All Valid Pickup and Delivery Options [Java]
- 8. Decode Ways II [Java]
- 9. Make the XOR of All Segments Equal to Zero [Java]
- 10. Maximize Value of Function in a Ball Passing Game [Java]
- 11. Minimum Deletions to Make String Balanced [Java]
- 12. Stone Game [Java]
- 13. Target Sum [Java]
- Problem Breakdown
- Standard
- HashMap
- 30. Count Common Words With One Occurrence [Java]
- 45. Intersection of Two Arrays II [Java, Python]
- Heap
- 39. Trapping Rain Water II [Java]
- 43. Total Cost to Hire K Workers [Java]
- Fenwick Tree
- 14. Distribute Elements Into Two Arrays II [Java]
- 55. Maximum Balanced Subsequence Sum [Java, Python, C++, Golang]
- Graph
- Dijkstra
- Bellman-Ford
- Greedy
- Math
- Pattern Rule
- 38. Transform to Chessboard [Java]
- Precomputation
- Segment Tree
- 32. My Calendar II [Java, Python]
- Sliding Window
- Standard
- Subset Concatenation
- Fixed-size Window
- Sorting
- 49. Bubble Sort [Java]
- 50. Merge Sort [Java]
- 51. Quick Sort [Java]
- Stack
- Monotonic Stack
- 47. Beautiful Towers II [Java]
- Monotonic Stack
- String
- 23. License Key Formatting [Java]
- 57. Valid Palindrome [Java, Python]
- Traversal
- Two Pointer
- 26. Boats to Save People [Java]
- 27. Find the Lexicographically Largest String From the Box I [Java]
- 28. Merge Sorted Array [Java]
- 54. 3Sum Closest [Java, Python]
- 57. Valid Palindrome [Java, Python]
- Union-Find
- Array
- SQL Problems
- 1. Odd and Even Transactions [MySQL, Oracle]
- 2. Find Customer Referee [MySQL, Oracle]