$
Connect GitHub
Paste a fine-grained personal access token with repo scope.
1. Two Sum
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
You can return the answer in any order.
Example 1:
Input: nums = [2,7,11,15], target = 9
Output: [0,1]
Example 2:
Input: nums = [3,2,4], target = 6
Output: [1,2]
Example 3:
Input: nums = [3,3], target = 6
Output: [0,1]
Constraints:
- 2 ≤ nums.length ≤ 10⁴
- -10⁹ ≤ nums[i] ≤ 10⁹
- Only one valid answer exists.
Input
nums =
[2,7,11,15]
Why AlgoLedger
Built like a real engineering artifact
GitHub-native
No backend, no third-party database — your repository is the whole system.
Structured commits
One commit per accepted submission — real git history of your growth.
Multi-way indexing
Browse by problem number, difficulty, topic, or language — automatically.
Activity intelligence
A contribution heatmap and topic radar, generated from your own history.
Zero manual work
Solve the problem. AlgoLedger captures and commits it in the background.
Own your data
It's a plain git repository — exportable, greppable, forkable, forever.
Build in Public
Come read the code. Come change it.
AlgoLedger is a pnpm/Turborepo monorepo, fully typed, built on the principle that GitHub is the database — no hidden backend to reverse-engineer. Every part of the pipeline, from capture to commit, is right here for you to read.
Add a platform adapter
Extend capture beyond LeetCode — Codeforces and HackerRank are already stubbed.
Improve the popup UI
Polish the dashboard, the knowledge graph, or the onboarding flow.
Write more tests
Strengthen coverage across generators, adapters, and the sync engine.
Real product, not a mockup
Your repository, browsable
leetcode/README.md
Contribution heatmap
Positioning
This isn't another tracker
Most LeetHub-style tools just dump your code into a repo. AlgoLedger builds a structured, categorized knowledge base out of it.
Generic code-dump tools
AlgoLedger
Start archiving today
Two minutes to connect. Every solve after that is automatic.
