This index is the starting point for locating and revisiting problem solutions. The source platform is recorded as metadata; directories are organized by the data structure or algorithmic technique used.
Keep a reviewed solution in the existing problem package. Retain the original as ProblemSolution.java and name later attempts with the review date, such as Review2026_09.java. This keeps attempts comparable without creating a second copy of the problem elsewhere.
| Topic | Source directory |
|---|---|
| Arrays and matrices | arraymatrix |
| Divide and conquer | divideandconquer |
| Graphs | graph |
| Greedy algorithms | greedy |
| Hash tables and sets | hash, hashset |
| Heaps | heap |
| Linked lists | linkedlist |
| Queues | queue |
| Stacks | stack |
| Trees | tree |
| Tries | trie |
- Put the solution in the existing topic package, or create a new topic package when necessary.
- Add the problem title, source, topic, and last-review date to the relevant table below.
- On a revisit, add a dated
ReviewYYYY_MM.javaimplementation in the same package and update the review date.
Add entries here as problems are created or reviewed.
| Problem | Topic | Source | Implementations | Last reviewed |
|---|---|---|---|---|
| Two Sum | Hash tables and sets | LeetCode | ProblemSolution.java, Review2026_09_26.java |
2026-09-26 |
| Valid Anagram | Hash tables and sets | LeetCode | ProblemSolution.java, Review2026_09_27.java |
2026-09 |
| Merge Two Sorted Lists | Linked lists | LeetCode | ProblemSolution.java, Review2026_09_28.java |
2026-09 |
| Valid Parentheses | Stacks | LeetCode | ProblemSolution.java, Review2026_09_28.java |
2026-09 |
| Valid Palindrome | Arrays and matrices | LeetCode | Review2026_09_29.java |
2026-09 |
| Find First Palindromic String in the Array | Arrays and matrices | LeetCode | Review2026_09_29.java, Review2026_09_30.java |
2026-09 |
| Linked List Cycle | Linked lists | LeetCode | Review2026_09_29.java |
2026-09 |
| Reverse Linked List | Linked lists | LeetCode | ProblemSolution.java, Review2026_10_01.java |
2026-10 |
| Longest Palindrome | Hash tables and sets | LeetCode | ProblemSolution.java, Review2026_10_03.java |
2026-10 |