Study an optimized solution with time and space complexity analysis for any LeetCode problem.
Compare Python and C++ approaches side by side to understand language trade-offs for the same algorithm.
Review problems by category to practice a specific topic like trees, dynamic programming, or binary search.
Find all problems tagged with a specific algorithm pattern to build depth before a technical interview.
No setup needed, browse the README table or clone and open individual solution files directly.
LeetCode is a website where programmers practice coding problems that are commonly used in technical job interviews at software companies. Problems range from easy to hard and test knowledge of algorithms and data structures, which are fundamental concepts in computer science for solving problems efficiently. This repository contains Python and modern C++ solutions to all 3,928 problems currently on LeetCode, updated weekly as new problems are added. The author maintains it as a reference for developers preparing for technical interviews at companies where solving these kinds of problems under time pressure is a standard part of the hiring process. Each entry lists the problem, links to solution files for both Python and C++, the time complexity and space complexity of the approach (measures of how fast the solution runs and how much memory it uses), the difficulty rating (Easy, Medium, or Hard), and any relevant tags. Problems are grouped into more than 25 algorithm and data structure categories, including arrays, strings, trees, graphs, dynamic programming, binary search, backtracking, and more. There are also sections for SQL, JavaScript, and Pandas problems, which cover different skill areas tested in interviews. The author notes this is a replacement for an earlier repository that accumulated over 5,700 stars. The progress badge in the README shows all 3,928 current problems have solutions. The repository is MIT-licensed and is one of several the same author maintains across different competitive programming platforms, including GoogleCodeJam and MetaHackerCup. The full README is longer than what was shown.
← kamyu104 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.