/leetcode-solutions

My solutions to Leetcode Problems

Primary LanguageC++MIT LicenseMIT

LeetCode solutions

My topic-wise collection of LeetCode problems and solutions

Collected problems by topic

Click on the topic collections to access subtopics, problems, and solutions

Algorithms

Common

Uncommon

Data structures

Tricks

Problem types

Other

Footnote

  • All are AC solutions
  • Very few will have comments, because I wrote them for myself, often during contests. But raise an issue if you want to understand more about a solution, and I will add an explanation
  • There is a small chance that a handful of solutions are not mine, because I sometimes submit solutions that my students ask me to debug. Raise an issue and I will remove it