Skip to content

khanhtd585/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LeetCode Practice Solutions

Welcome to my LeetCode practice repository! ๐Ÿš€

This repo is a personal archive of solutions to coding problems I've tackled on LeetCode. Each folder is organized by algorithmic technique, making it easy to browse and revisit solutions as I continue my journey to master data structures and algorithms.

๐Ÿ“‚ Folder Structure

  • stack/
    Solutions using stack-based approaches.

    • hard-largestRectangleArea.py: Find the largest rectangle in a histogram.
  • two_pointer/
    Problems solved with the two-pointer technique.

    • 11-med-maxArea.py: Container With Most Water.
    • 15-med-3Sum.py: Find all unique triplets that sum to zero.
    • 42-hard-TrappingRainWater.py: Calculate trapped rainwater.
    • easy-isPalindrome.py: Check if a string is a palindrome (ignoring non-alphanumerics).
    • med-twoSum.py: Find two numbers that add up to a target.

๐Ÿ“ How I Use This Repo

  • Save and organize solutions for future reference.
  • Track progress and revisit tricky problems.
  • Experiment with different approaches and optimizations.

๐Ÿ’ก Why Practice LeetCode?

Practicing LeetCode problems helps sharpen problem-solving skills, prepares for technical interviews, and deepens understanding of computer science fundamentals.


Feel free to explore the code, suggest improvements, or use these solutions for your own learning!

Happy coding! ๐Ÿ˜„

About

LeetCode practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages