🌐
YouTube
youtube.com › playlist
LeetCode Solutions - YouTube
A collection of all the solutions of interesting LeetCode questions I have solved, as a part of daily challenges. Including some bonus ones here and there :)...
🌐
GitHub
github.com › kamyu104 › LeetCode-Solutions
GitHub - kamyu104/LeetCode-Solutions: 🏋️ Python / Modern C++ Solutions of All 3851 LeetCode Problems (Weekly Update)
🏋️ Python / Modern C++ Solutions of All 3851 LeetCode Problems (Weekly Update) - kamyu104/LeetCode-Solutions
Starred by 5.2K users
Forked by 1.6K users
Languages   C++ 54.2% | Python 45.3% | TypeScript 0.4% | Java 0.1% | Go 0.0% | Shell 0.0%
Discussions

Anyone else find themselves simply memorizing LeetCode solutions?
I find that looking at others code is the wrong way to go. Instead I watch neetcode (great YouTube channel) break down the problem and outline the solution visually. Then DO NOT LOOK AT HIS CODED SOLUTION. you must code the solution yourself. Even better to wait a bit between being explained the algorithm and writing the code. This is what I find works for me. EDIT: after you've coded your solution its ok to look at his solution to see if he had any cool coding tricks that you missed. but this is only after you have a fully working solution. More on reddit.com
🌐 r/learnprogramming
34
257
February 15, 2022
Leetcode solutions
🌐 r/leetcode
5
30
December 13, 2021
I created a website with free solutions to all problems - simplyleet.com
This is amazing! Thanks! More on reddit.com
🌐 r/leetcode
2
10
April 11, 2025
How do you remember leetcode problem solutions?
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge. If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options: Limiting your involvement with Reddit, or Temporarily refraining from using Reddit Cancelling your subscription of Reddit Premium as a way to voice your protest. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/learnprogramming
22
22
November 17, 2023
online platform for coding interview preparation
LeetCode is an online platform for coding interview preparation. The platform provides coding and algorithmic problems intended for users to practice coding. LeetCode has gained popularity among job seekers in the software … Wikipedia
Factsheet
Type of site Private
Founded 7 August 2015
Headquarters Palo Alto, California, US
Factsheet
Type of site Private
Founded 7 August 2015
Headquarters Palo Alto, California, US
🌐
LeetCode
leetcode.com
LeetCode - The World's Leading Online Programming Learning Platform
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
🌐
LeetCode-Solutions
monitsharma.github.io › LeetCode-Solutions
LeetCode-Solutions | Current Problems Solved : 552 ; Current Leet Code rank : 88,322
A curated collection of Leetcode problem solutions in multiple programming languages including Python, C, C++, Java, and JavaScript.
🌐
GitHub
github.com › ContextLab › leetcode-solutions
GitHub - ContextLab/leetcode-solutions: Leetcode discussions, brainstorming, musings, and solutions
Each day (ideally) we'll attempt the daily leetcode problem. We'll make a new folder for each day's problem. Anyone who wants can submit a markdown file, iPython notebook, etc. with their notes, questions, solutions, test cases, or other problem-related files.
Starred by 4 users
Forked by 3 users
Languages   Python 73.1% | Jupyter Notebook 26.9%
🌐
Raddevon
raddevon.com › articles › the-best-solutions-to-leetcode-problems
The best solutions to LeetCode problems » Rad Devon
It doesn’t matter which languages you’re familiar with, this book can help you get a better understanding of algorithms which will make it easier for you to solve LeetCode problems. Cracking the Coding Interview- This has to be the most recommended book for coding interviews. Any time the subject comes up, someone is around to toss out this title. Be aware that the solutions in the book are in Java.
Find elsewhere
🌐
Reddit
reddit.com › r/learnprogramming › anyone else find themselves simply memorizing leetcode solutions?
r/learnprogramming on Reddit: Anyone else find themselves simply memorizing LeetCode solutions?
February 15, 2022 -

Posting this out of a bit of frustration... I've been "grinding LeetCode" for the past few weeks and I find myself struggling to "creatively" come up with solutions even to problems I've solved before.

Usually my rule is that after spending at most an hour on a problem if I still can't solve it I'll look at the solution, study the relevant concepts, and try to implement it on my own. However, I'm finding that very often is the case where if I meet a new problem that's a variation of this one, I'll still struggle again.

Is this simply a matter of lack of practice? Anyone else experience this or am I approaching things incorrectly?

Thanks.

Top answer
1 of 5
281
I find that looking at others code is the wrong way to go. Instead I watch neetcode (great YouTube channel) break down the problem and outline the solution visually. Then DO NOT LOOK AT HIS CODED SOLUTION. you must code the solution yourself. Even better to wait a bit between being explained the algorithm and writing the code. This is what I find works for me. EDIT: after you've coded your solution its ok to look at his solution to see if he had any cool coding tricks that you missed. but this is only after you have a fully working solution.
2 of 5
23
I'd step away from LeetCode at that point - you're not learning from it, so you should do something more productive with your time. I don't know if that's going to be finding some homework assignment somewhere and trying to do it, writing ToDo App #9000, picking up a computer science theory textbook, whatever. Spend some time focusing on the theory - pick up an algorithms textbook if it helps! I'm a big believer that the best way to learn how to build things is to build things, and doing LeetCode is not really building things. Write a budgeting or TODO app, write a Tetris game, write a script to calculate averages/medians from a big CSV file. I'm assuming you're doing LeetCode for interview prep - disregard this next bit if that's wrong. I do a lot of interviews for entry-level engineers, and there's a lot of pretty loud indicators that a candidate has just been cramming LeetCode style problems without really focusing on understanding the basics at play. One of the big ones is pulling out some fancy tool like dynamic programming and not being able to explain at all why it's useful to the problem. If you're job prepping, grinding LC without understanding what you're doing is doing you no favors at all.
🌐
LeetCode
leetcode.com › discuss › general-discussion › 1868912 › my-leetcode-solutions-all-in-one
My Leetcode Solutions All In One - Discuss
By Frank Luo My Leetcode Solutions are here, and this post will update frequently. All code are in Github. -------------------------- | Leetcode Pro
🌐
HackerNoon
hackernoon.com › empowering-newbies-building-confidence-through-600-leetcode-solutions-a-guide-for-beginners
Empowering Newbies: Building Confidence Through 600+ LeetCode Solutions – A Guide for Beginners | HackerNoon
January 19, 2024 - Discover valuable insights on tackling over 600 LeetCode problems. Gain practical advice and useful resources for mastering coding interviews successfully.
🌐
WalkCCC
walkccc.me › LeetCode
LeetCode Solutions
💡 Solutions to LeetCode in C++23, Java, Python, MySQL, and TypeScript.
🌐
Medium
medium.com › @thabheloduve › here-are-one-line-solutions-for-leetcode-in-python-6e9727acc43d
Here are one-line solutions for Leetcode — in Python. | by Thabhelo Duve | Medium
July 24, 2024 - So today, I thought I would tackle some common LeetCode problems and demonstrate how to solve them in just ONE or TWO lines of Python code!
🌐
Takeuforward
takeuforward.org › dsa › blind-75-leetcode-problems-detailed-video-solutions
Blind 75 LeetCode Problems - Detailed Video Solutions
December 13, 2025 - Blind 75 leetcode is a list of 75 most frequent asked leetcode questions which had helped many developers clear interviews of Google, Amazon, Microsoft, Facebook etc. Hence, it is a tried and tested list with 1000s of testimonials available on all public review platforms such as quora, teamblind ...
🌐
Reddit
reddit.com › r/leetcode › leetcode solutions
r/leetcode on Reddit: Leetcode solutions
December 13, 2021 -

Hi there,
I'd like to share a set of 460+ solutions for LeetCode problems, all written in various languages and written by me. Hopefully, these solutions can serve a purpose except having a backup of all solutions on GitHub, maybe as a reference for others when you get stuck. My personal goal was to never look up any solution so I was forced to solve everything myself by that I trained my problem-solving skills much quicker.

You can check out the solutions at: https://github.com/donutloop/leetcode.com

I hope it will be helpful for you and I will keep adding new solutions once in a while.

🌐
Reddit
reddit.com › r/leetcode › i created a website with free solutions to all problems - simplyleet.com
r/leetcode on Reddit: I created a website with free solutions to all problems - simplyleet.com
April 11, 2025 -

SimplyLeet.com Has written and code solutions. Paid and company lists.

Leetcode interviews suck. The pay privilege in front of them make it even worse. Not to mention the people who made this interview type popular are now profiting from it. For this reason I wanted to create an all-in-one forever free (and ad free) solutions website.

🌐
Reddit
reddit.com › r/learnpython › will looking at leetcode solutions help or hinder?
r/learnpython on Reddit: Will looking at LeetCode Solutions help or hinder?
March 9, 2023 -

Hey all! Just to give you context about me: I am a Cybersecurity students who, last semester, got through an intro to python course. I’m now in an intro to Java course and I am doing pretty good but after this my formal education in programming ends as software development isn’t my focus but I would like to get at least proficient in one language and I think Python is the way to go.

I decided to try and work through LeetCode problems and read “Automate the boring stuff.”

I decided to start with the easy problems and, well, I’m struggling. Which is fine, you have to if you want to get better. Usually I’ll get 2/3 tests cases and just can’t get some weird edge case to work where the challenge really lay. A few times I’ve looked at the code and felt like I took something away but I’m wondering what you guys think of it as a learning tool. If I look at the code am I really going to take meaningful lessons from it? Or should I just come back after learning more? The problems I had to do for the class seemed a lot easier. these feel more like medium but how am I supposed to know how hard it’s supposed to be lol. Thanks for the advice in advance!

Top answer
1 of 6
56
Leetcoding isn't really programming. If you want to learn to program, build a system of some sort. If you want to get good at leetcoding, then yes, looking solutions is the way to go. In fact, you shouldn't waste any time at all if don't immediately know what to do. You should instead immediately look at the solution, memorize it, apply it and move on. Your goal is to memorize the largest amount of types of problems you can, just so you can read some new problem and immediately know what to do.
2 of 6
15
Pick an impossible project (and I mean impossible. Not like you could probably do that by yourself. Like it's so gigantic and out of your league that you have no idea how to even start) Study a lot and figure out a road map/flowchart for the project (not how to write the program but how the project will work in a theoretical sense. Like if you want to build a thing that calculates the solution for differential equations, you need to figure out a way to input a DE, a way to solve that, and a way to output the solution. So you'd study what sort of input you want to have (graphical, numerical, etc), how to solve DEs, how to present the solution in a meaningful way (graphs, numbers, etc), etc) With the theoretical roadmap at hand, now it's time to actually write the thing. Start googling "how to..." and keep clicking on links until you figure out how to write the first step of the roadmap you made earlier. Go back and edit your roadmap because now you have more insight. Change your code to reflect that edit. Rinse and repeat. Keep doing that until you're happy with the first part. Move to the second part and do the same. Change the entire implementation of part 1 if you want to. Continue until the whole thing is finished. Make sure to pick something that continues to kick your ass until the end. If it's easy/average, you're too good for that project. The toughest ones teach you the most.
🌐
GitHub
github.com › gahogg › Leetcode-Solutions
GitHub - gahogg/Leetcode-Solutions: The repository for all of the solutions to the Leetcode problems solved on my YouTube, Instagram and TikTok
The repository for all of the solutions to the Leetcode problems solved on my YouTube, Instagram and TikTok - gahogg/Leetcode-Solutions
Starred by 844 users
Forked by 213 users
Languages   Python 27.2% | Java 25.7% | C++ 25.6% | JavaScript 21.5%
🌐
LeetCode
leetcode.com › problems › two-sum
Two Sum - LeetCode
Two Sum - Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice.