Explain the observation
Start with the repeated work or constraint that reveals the useful pattern.
SolveLog is a personal learning archive that turns solved LeetCode and DSA problems into short lessons you can reason through—not snippets you have to memorize.
It is easy to recognize code after seeing it. It is harder to recover the key idea from a blank editor. SolveLog focuses on that missing step: the observation that turns a brute-force approach into the right data structure or algorithm.
Each page follows the same learning path—problem, intuition, approach, working code, edge cases, complexity, and a live walkthrough of the algorithm's changing state.
Start with the repeated work or constraint that reveals the useful pattern.
Run the algorithm on concrete examples so every pointer, window, stack, or table update is visible.
Document failure modes, boundary cases, and the true time and space costs.
The archive is organized by difficulty, pattern, and topic.
Start exploring