DEV Community

Cover image for LeetCode Problems 1-10
Anirudh Sharma
Anirudh Sharma

Posted on

LeetCode Problems 1-10

Howdy fellow devs ๐Ÿ‘‹! In order to improve every day, we must practice continuously of what we have learnt.
Solving problems on online learning platforms is one of the most common ways to do so.

LeetCode is one of the most widely used platforms for solving problems. They have a wide variety of problems of varying difficulty levels i.e., Easy, Medium and Hard.

I also try to solve each problem every day to keep my brain juices flowing ๐Ÿ˜ƒ. Since humans tend to forget most of the information, it's only logical if we document the analysis of a problem, approach we took to solve that problem etc. Therefore, as soon as I solve the problem, I try to write a blog with all the information I used to solve that problem.

Below are the blog posts for LeetCode problems 1 - 10.

  1. Two Sum
  2. Add Two Numbers
  3. Longest Substring Without Repeating Characters
  4. Median Of Two Sorted Arrays
  5. Longest Palindromic Substring
  6. ZigZag Conversion
  7. Reverse Integer
  8. String To Integer (atoi)
  9. Palindrome Number
  10. Regular Expression Matching

I hope you will find them useful. I have implemented the solutions to these problems in four programming languages - Java, Python, JavaScript and Kotlin.

You can find the complete source code on my GitHub repository. If you like what you learn, feel free to fork ๐Ÿ”ช and star โญ it.

Keep practicing... keep coding... stay safe and Namaste ๐Ÿ™.

Top comments (3)

Collapse
 
kyril96340413 profile image
Kyril • Edited

Thanks for this detailed explanation. :D

Collapse
 
ji90 profile image
Jenny Yang

Amazing!!!

Collapse
 
3ankur profile image
Ankur V

Very nice๐Ÿ‘