Skip to content

About

A collection of my LeetCode solutions covering Data Structures & Algorithms, with automated progress tracking and performance metrics.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

239 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 LeetCode Journey

Building problem-solving skills, one problem at a time.

My journey from solving problems β†’ recognizing patterns β†’ becoming a better engineer.


πŸ‘‹ About Me

I'm Jeel Soni, a B.Tech student specializing in Artificial Intelligence & Machine Learning.

This repository documents my journey through:

  • 🧩 Data Structures & Algorithms
  • 🧠 Problem Solving
  • ⚑ Algorithm Optimization
  • 🎯 Technical Interview Preparation
  • πŸ’» Software Engineering Fundamentals

This isn't just a collection of answers.

It's a record of my growth.

The goal isn't to solve everything. The goal is to become better at solving anything.


πŸ“Š Live Progress

🧩 Problems Solved

Difficulty Problems
🟒 Easy 20
🟑 Medium 47
πŸ”΄ Hard 6
βšͺ Unknown 0
πŸ† Total 73

πŸ“ˆ Progress

🟒 Easy       20
🟑 Medium     47
πŸ”΄ Hard       6
βšͺ Unknown    0

πŸ† TOTAL      73

πŸ—ΊοΈ My Journey

My approach to every problem:

                    🧩 Problem
                       β”‚
                       ↓
                πŸ” Understand It
                       β”‚
                       ↓
                🐒 Brute Force
                       β”‚
                       ↓
                🧠 Find Pattern
                       β”‚
                       ↓
                 ⚑ Optimize
                       β”‚
                       ↓
                πŸ’» Implement
                       β”‚
                       ↓
              πŸ§ͺ Test Edge Cases
                       β”‚
                       ↓
                  πŸ“š Learn

I don't want to memorize solutions.

I want to recognize patterns.


🧠 Patterns I'm Learning

Pattern Status
πŸ”„ Two Pointers πŸ”„ Learning
πŸͺŸ Sliding Window πŸ”„ Learning
πŸ—ΊοΈ Hash Map πŸ”„ Learning
πŸ”Ž Binary Search πŸ”„ Learning
πŸ“š Stack πŸ”„ Learning
🚢 Queue πŸ”„ Learning
πŸ”— Linked List πŸ”„ Learning
🌳 Trees πŸ”„ Learning
πŸ•ΈοΈ Graphs πŸ”„ Learning
πŸ’° Greedy πŸ”„ Learning
πŸ”™ Backtracking πŸ”„ Learning
🧠 Dynamic Programming πŸ”„ Learning

πŸ† Problems Solved

# Title Solution Difficulty
1 Two Sum Python 🟒 Easy
2 Add Two Numbers Python 🟑 Medium
3 Longest Substring Without Repeating Characters Python 🟑 Medium
4 Median Of Two Sorted Arrays Python πŸ”΄ Hard
19 Remove Nth Node From End Of List Python 🟑 Medium
20 Valid Parentheses Python 🟒 Easy
21 Merge Two Sorted Lists Python 🟒 Easy
25 Reverse Nodes In K Group Python πŸ”΄ Hard
26 Remove Duplicates From Sorted Array C++ 🟒 Easy
31 Next Permutation Python 🟑 Medium
48 Rotate Image Python 🟑 Medium
50 Powx N Python 🟑 Medium
53 Maximum Subarray Python 🟑 Medium
55 Jump Game Python 🟑 Medium
56 Merge Intervals Python, Notes.md, C++ 🟑 Medium
57 Insert Interval Python 🟑 Medium
61 Rotate List Python 🟑 Medium
62 Unique Paths Python 🟑 Medium
73 Set Matrix Zeroes Python 🟑 Medium
74 Search A 2D Matrix Python 🟑 Medium
75 Sort Colors Python 🟑 Medium
76 Minimum Window Substring Python πŸ”΄ Hard
78 Subsets Python 🟑 Medium
81 Search In Rotated Sorted Array Ii Python 🟑 Medium
88 Merge Sorted Array Python 🟒 Easy
94 Binary Tree Inorder Traversal Python 🟒 Easy
102 Binary Tree Level Order Traversal Python 🟑 Medium
105 Construct Binary Tree From Preorder And Inorder Traversal Python 🟑 Medium
118 Pascals Triangle Python 🟒 Easy
121 Best Time To Buy And Sell Stock Python 🟒 Easy
138 Copy List With Random Pointer Python 🟑 Medium
141 Linked List Cycle Python 🟒 Easy
153 Find Minimum In Rotated Sorted Array Python 🟑 Medium
160 Intersection Of Two Linked Lists Python 🟒 Easy
162 Find Peak Element Python 🟑 Medium
169 Majority Element Python 🟒 Easy
199 Binary Tree Right Side View Python 🟑 Medium
200 Number Of Islands Python 🟑 Medium
206 Reverse Linked List Python 🟒 Easy
225 Implement Stack Using Queues Python 🟒 Easy
229 Majority Element Ii Python 🟑 Medium
232 Implement Queue Using Stacks Python 🟒 Easy
235 Lowest Common Ancestor Of A Binary Search Tree Python 🟑 Medium
237 Delete Node In A Linked List Python 🟑 Medium
240 Search A 2D Matrix Ii Python 🟑 Medium
287 Find The Duplicate Number Python 🟑 Medium
297 Serialize And Deserialize Binary Tree Python πŸ”΄ Hard
322 Coin Change Python 🟑 Medium
424 Longest Repeating Character Replacement Python 🟑 Medium
435 Non Overlapping Intervals Python 🟑 Medium
455 Assign Cookies Python 🟒 Easy
493 Reverse Pairs Python πŸ”΄ Hard
496 Next Greater Element I Python 🟒 Easy
503 Next Greater Element Ii Python 🟑 Medium
540 Single Element In A Sorted Array Python 🟑 Medium
543 Diameter Of Binary Tree Python 🟒 Easy
547 Number Of Provinces Python 🟑 Medium
678 Valid Parenthesis String Python 🟑 Medium
733 Flood Fill Python, Notes.md 🟒 Easy
784 Insert Into A Binary Search Tree Python 🟑 Medium
890 Lemonade Change Python 🟒 Easy
908 Middle Of The Linked List Python 🟒 Easy
940 Fruit Into Baskets Python 🟑 Medium
966 Binary Subarrays With Sum Python 🟑 Medium
1034 Subarrays With K Different Integers Python πŸ”΄ Hard
1036 Rotting Oranges Python 🟑 Medium
1046 Max Consecutive Ones Iii Python 🟑 Medium
1073 Number Of Enclaves Python 🟑 Medium
1370 Count Number Of Nice Subarrays Python 🟑 Medium
1460 Number Of Substrings Containing All Three Characters Python 🟑 Medium
1538 Maximum Points You Can Obtain From Cards Python 🟑 Medium
2047 Find A Peak Element Ii Python 🟑 Medium
2488 Divide Intervals Into Minimum Number Of Groups Python 🟑 Medium

πŸ“š How I Solve Problems

For every problem, I try to understand five things:

01 β€” Understand

What exactly is the problem asking?

02 β€” Brute Force

What is the simplest solution I can think of?

03 β€” Identify the Pattern

Can I recognize a known DSA pattern?

04 β€” Optimize

Can I improve:

Time Complexity
        +
Space Complexity

05 β€” Edge Cases

I don't consider a solution complete until I think about the unusual cases.

Empty / Minimum Input
        ↓
Duplicates
        ↓
Already Sorted
        ↓
Reverse Sorted
        ↓
Single Element
        ↓
Boundary Values

πŸ“ˆ Growth Over Perfection

There will be:

  • ❌ Wrong Answers
  • ❌ Time Limit Exceeded
  • ❌ Failed Edge Cases
  • ❌ Bugs
  • ❌ Problems I don't understand immediately

And that's completely fine.

❌ Wrong Answer
       β”‚
       ↓
πŸ” Understand Why
       β”‚
       ↓
πŸ”§ Fix It
       β”‚
       ↓
🧠 Learn The Pattern
       β”‚
       ↓
πŸ“ˆ Become Better

Every wrong answer is another piece of the puzzle.


🎯 Bigger Goal

LeetCode isn't the final destination.

It's one part of a much bigger journey.

                     DSA
                      β”‚
                      ↓
              Problem Solving
                      β”‚
                      ↓
            Technical Interviews
                      β”‚
                      ↓
            Software Engineering
                      β”‚
                      ↓
               AI / ML Engineering

As an AI/ML student, I want to combine strong problem-solving fundamentals with machine learning and real-world engineering.

The goal is not just to build AI systems.

The goal is to become an engineer who can solve difficult problems and build reliable systems.


πŸ”₯ The Rule

I don't need to solve 10 problems every day.

I need to understand one problem deeply.

                 1 Problem
                     Γ—
                  365 Days
                     =
          365 Opportunities to Improve

Consistency > Intensity


πŸ› οΈ Tech Stack


⭐ Repository Structure

leetcode-solutions/
β”‚
β”œβ”€β”€ 31-next-permutation/
β”‚   β”œβ”€β”€ README.md
β”‚   └── solution.py
β”‚
β”œβ”€β”€ 73-set-matrix-zeroes/
β”‚   β”œβ”€β”€ README.md
β”‚   └── solution.py
β”‚
β”œβ”€β”€ 118-pascals-triangle/
β”‚   β”œβ”€β”€ README.md
β”‚   └── solution.py
β”‚
β”œβ”€β”€ scripts/
β”‚   └── update_readme.py
β”‚
β”œβ”€β”€ .github/
β”‚   └── workflows/
β”‚       └── update-readme.yml
β”‚
└── README.md

New LeetCode problems are added automatically through LeetSync.


βš™οΈ Automation

This repository uses LeetSync + GitHub Actions.

                    πŸ§‘β€πŸ’» Me
                      β”‚
                      β”‚ Solve
                      ↓
                  🟠 LeetCode
                      β”‚
                      β”‚ LeetSync
                      ↓
                πŸ™ GitHub Repo
                      β”‚
                      ↓
              βš™οΈ GitHub Actions
                      β”‚
                      ↓
             🐍 update_readme.py
                      β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”
              ↓               ↓
         Count Problems    Update Stats
              β”‚               β”‚
              β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
                      ↓
                  πŸ“Š README

This means I can focus on solving problems, while the repository handles the progress tracking.


🧭 What's Next?

βœ… Start the journey
⬜ Build consistency
⬜ Master core DSA patterns
⬜ Solve 50 problems
⬜ Solve 100 problems
⬜ Solve 200 problems
⬜ Master advanced DSA
⬜ Become interview ready

The checklist will evolve as the journey continues.


πŸ’­ Final Note

Don't chase the number of problems.

Chase the number of problems you truly understand.

Every commit is a small record of progress.

Every bug is a lesson.

Every optimized solution is a step forward.

Every difficult problem makes the next one a little easier.


πŸš€ Keep Coding. Keep Learning. Keep Building.

β€” Jeel Soni

One problem at a time. One pattern at a time. One step at a time.

About

A collection of my LeetCode solutions covering Data Structures & Algorithms, with automated progress tracking and performance metrics.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages