🧠 LeetCode Practice by CarGDev

This repo tracks my journey solving LeetCode problems — not just code, but my thought process, reflections, and patterns I'm mastering.

LeetCode Problems Python TypeScript License Last Commit Repository Size

Progress

Easy Problems Medium Problems Hard Problems Success Rate Streak

  • Total Problems Solved: 75+
  • Notes Written: 1+ (expanding soon)
  • Categories Covered: Arrays, Hash Maps, Dynamic Programming, Two Pointers, Binary Search, etc.

🗂 Directory Structure

  • src/exercises/: Auto-downloaded solutions via Cursor
  • src/notes/: My personal notes, approaches, and learning reflections

🧩 Problem Index

# Title Difficulty Notes
001 Two Sum Easy View Notes
002 Add Two Numbers Medium View Notes
003 Longest Substring Without Repeating Characters Medium View Notes
004 Median of Two Sorted Arrays Hard View Notes
005 Longest Palindromic Substring Medium View Notes
006 Zigzag Conversion Medium View Notes
007 Reverse Integer Medium View Notes
009 Palindrome Number Easy View Notes
010 Regular Expression Matching Hard View Notes
011 Container With Most Water Medium View Notes
013 Roman to Integer Easy View Notes
014 Longest Common Prefix Easy View Notes
015 3Sum Medium View Notes
020 Valid Parentheses Easy View Notes
021 Merge Two Sorted Lists Easy View Notes
022 Generate Parentheses Medium View Notes
028 Find the Index of the First Occurrence in a String Easy View Notes
035 Search Insert Position Easy View Notes
036 Valid Sudoku Medium View Notes
042 Trapping Rain Water Hard View Notes
045 Jump Game II Medium View Notes
050 Pow(x, n) Medium View Notes
055 Jump Game Medium View Notes
066 Plus One Easy View Notes
069 Sqrt(x) Easy View Notes
074 Search a 2D Matrix Medium View Notes
080 Remove Duplicates from Sorted Array II Medium View Notes
088 Merge Sorted Array Easy View Notes
089 Gray Code Medium View Notes
090 Subsets II Medium View Notes
091 Decode Ways Medium View Notes
092 Reverse Linked List II Medium View Notes
121 Best Time to Buy and Sell Stock Easy View Notes
122 Best Time to Buy and Sell Stock II Medium View Notes
125 Valid Palindrome Easy View Notes
128 Longest Consecutive Sequence Medium View Notes
135 Candy Hard View Notes
141 Linked List Cycle Easy View Notes
149 Max Points on a Line Hard View Notes
150 Evaluate Reverse Polish Notation Medium View Notes
153 Find Minimum in Rotated Sorted Array Medium View Notes
155 Min Stack Medium View Notes
167 Two Sum II - Input Array Is Sorted Medium View Notes
169 Majority Element Easy View Notes
172 Factorial Trailing Zeroes Medium View Notes
189 Rotate Array Medium View Notes
202 Happy Number Easy View Notes
205 Isomorphic Strings Easy View Notes
206 Reverse Linked List Easy View Notes
217 Contains Duplicate Easy View Notes
219 Contains Duplicate II Easy View Notes
228 Summary Ranges Easy View Notes
238 Product of Array Except Self Medium View Notes
242 Valid Anagram Easy View Notes
243 Shortest Word Distance Easy View Notes
244 Shortest Word Distance II Medium View Notes
245 Shortest Word Distance III Medium View Notes
246 Strobogrammatic Number Easy View Notes
248 Strobogrammatic Number III Hard View Notes
290 Word Pattern Easy View Notes
383 Ransom Note Easy View Notes
392 Is Subsequence Easy View Notes
704 Binary Search Easy View Notes
875 Koko Eating Bananas Medium View Notes
990 Satisfiability of Equality Equations Medium View Notes
1200 Minimum Absolute Difference Easy View Notes
1298 Maximum Candies You Can Get from Boxes Medium View Notes
1820 Maximum Number of Accepted Invitations Medium View Notes
2040 Kth Smallest Product of Two Sorted Arrays Medium View Notes
2053 Kth Distinct String in an Array Easy View Notes
2116 Check if a Parentheses String Can Be Valid Medium View Notes
2294 Partition Array Such That Maximum Difference Is K Medium View Notes
2441 Largest Positive Integer That Exists With Its Negative Easy View Notes
2616 Minimize the Maximum Difference of Pairs Medium View Notes
2966 Divide Array Into Arrays With Max Difference Medium View Notes
3442 Maximum Difference Between Even and Odd Frequency I Easy View Notes
3445 Maximum Difference Between Even and Odd Frequency II Easy View Notes

🛠️ Tools & Scripts

  • create_missing_notes.sh: Automatically creates missing note files for solved problems

📚 Resources


This repository is a living document of my algorithmic learning journey. Each note captures my thought process, mistakes, and insights.

Description
No description provided
Readme MIT 260 KiB
Languages
Python 85.3%
Shell 12%
JavaScript 2.7%