go to the list of problems and sort them by the highest acceptance rate. you'll find the objectively easier questions there. the easy/medium tags are not as accurate Answer from smokessprite on reddit.com
LeetCode
leetcode.com βΊ problems βΊ duplicate-zeros βΊ solutions βΊ 312751 βΊ java-from-a-beginner-programmer
Duplicate Zeros - LeetCode
Duplicate Zeros - Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond the length of the original array are not written.
LeetCode
leetcode.com βΊ problem-list βΊ prshgx6i
Super Easy Problems - LeetCode
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.
What is the easiest leetcode question?
go to the list of problems and sort them by the highest acceptance rate. you'll find the objectively easier questions there. the easy/medium tags are not as accurate More on reddit.com
What should i learn in Java to be able to solve on leetcode?
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full - best also formatted as code block You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. 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
How to work up to Leetcode easy questions?
I strongly advise against learning Algo+DS or technology/language without reading up some theory first. As for algos, using "combat mode" trying to brute force the problems will only worsen the situation. You're not gonna know what to do and frustration will start to settle in. Learning technology by "diving straight in" often leads to using it completely against the intended purpose. Simple example, I've seen junior programers comparing Java strings using equality operator (==) instead of equals() method. When I asked why they do it this way, it turns out they haven't learned the 'equals' thing yet. If you try to learn a complex framework that way, things can go off the rails very quickly. A lot of those algorithm problems are daunting to you because you don't have enough exposure to them yet. Read Algo & DS Book, I recommend Algorithm Design Manual, it isn't as "mathy" as the CLRS. Google it, second link ;) Work through it, even if you won't understand everything, at the very least you're gonna develop anchor points in your mind that you can refer to later. You're gonna see a problem and realize "hmm... I think I saw similar problem in the section about bitwise operations". I'm not fond of youtube tutorials, especially if I intend to study a complicated subject. I want to jump straight in, instead of having to listen to drivel like "HEY GUISE IT'S STEVE "GoFuckYourself1337" SUBSCRIBE TO MY CHANNEL. WELCOME TO ANOTHER VIDEO TUTORIAL. TODAY I'M GONNA TALK FOR HALF AN HOUR COVERING MAYBE A ONE FUCKING PAGE OF DECENT ALGORITHM BOOK. BTW I DIVIDED THIS WHOLE TUTORIAL INTO ONE MINUTE SEGMENTS, EFFECTIVELY DESTROYING YOUR FOCUS AND FLOW. I HOPE YOU'RE ENJOYING WASTING YOUR TIME! YOU LIKED THIS TUTORIAL? DON'T FORGET TO FOLLOW ME ON REDDIT, TWITTER, INSTAGRAM, FACEBOOK AND MEDIUM. DON'T FORGET TO BUY T-SHIRTS WITH MY NEW MOTTO: "COLLEGE IS LIKE A TOILET, YOU GO THERE ONLY CUZ YOU FUCKIN' HAVE TO". Maybe I'm exaggerating a little, but I think video tutorials are too vague and general. More on reddit.com
How to approach Array problems on Leetcode
I would just keep doing questions, try to train yourself into thinking more efficiently. Coming up with things like multiple pointers and sliding windows aren't out of the realm of possibility. So as you learn some, make sure you understand them, then see if they fit future problems. If they don't then use them as inspiration for coming up with your own algorithms, you may stumble upon ones that exist already. This way you train your brain to think it out instead of recall previous algorithms. That is ultimately the point, but never seems to actually work that way. There are some bread and butter algorithms you should know going in. Breadth first search, depth first search, sliding window type is good to know as you have seen, as well as unify-find which you will come across less often but is a great solution for when you do. If you get stuck, think of the brute force method, the one that would take the longest time but work. Then see if you can figure a way to make it more efficient, what items can you immediately discard from searching? Could spending O time for a sort help in the long run? More on reddit.com
Videos
11:40:55
Blind 75 Leetcode Java - All Questions Solved - YouTube
70 Leetcode problems in 5+ hours (every data structure) (full ...
11:31
How to Start LeetCode from ZERO in 2025 - YouTube
08:45
How to Start Leetcode (as a beginner) - YouTube
23:36
LeetCode Exercise in Java Tutorial - Two Sum FAST Solution - YouTube
10:28
Binary Watch | LeetCode 401 | Enumerating Hours and Minutes | Java ...
LeetCode
leetcode.com βΊ problemset
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.
Reddit
reddit.com βΊ r/leetcode βΊ what is the easiest leetcode question?
r/leetcode on Reddit: What is the easiest leetcode question?
April 7, 2024 -
I've been struggling to do even easy leetcode problems such as 2 sum. I want to solve questions on my own rather than having to look up solutions every 5 minutes. Which leetcode problems would you recommend me to get acquainted?
LeetCode
leetcode.com βΊ problem-list βΊ mmza0utr
JAVA QUESTIONS 50 - LeetCode
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
leetcode.com βΊ problems βΊ two-sum βΊ solutions βΊ 1023085 βΊ easy-java-solution-with-youtube-tutorial-for-beginners
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.
LeetCode
leetcode.com βΊ problemset
LeetCode Java Problems
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
leetcode.com βΊ discuss βΊ post βΊ 4734043 βΊ Super-Easy-Problem-List:-For-Beginners-and-Devs-Learning-a-New-Language
Super Easy Problem List: For Beginners and Devs ...
February 15, 2024 - The Geek Hub for Discussions, Learning, and Networking.
LeetCode
leetcode.com βΊ discuss βΊ post βΊ 448024 βΊ topic-wise-problems-for-beginners
Topic wise problems for Beginners - Discuss - LeetCode
December 9, 2019 - Finally, here is a list of problems that I solved topic wise and wasn't able to solve them in the first chance. I used solutions / discuss to check the approach of solving problems. Few are some which are worth revisiting. Finally, I have solved around 137 problems, so that should suffice for a beginner to onboard with the process of leetcode grind.
LeetCode
leetcode.com βΊ explore βΊ interview βΊ card βΊ top-interview-questions-easy
Explore - LeetCode
LeetCode Explore is the best place for everyone to start practicing and learning on LeetCode. No matter if you are a beginner or a master, there are always new topics waiting for you to explore.
GitHub
github.com βΊ fluency03 βΊ leetcode-java
GitHub - fluency03/leetcode-java: πππ Leetcode solution in Java - 536/921 Solved. https://leetcode.com/problemset/all/
πππ Leetcode solution in Java - 536/921 Solved. https://leetcode.com/problemset/all/ - fluency03/leetcode-java
Starred by 231 users
Forked by 116 users
Languages Β Java
LeetCode
leetcode.com βΊ discuss βΊ interview-question βΊ 804201 βΊ java-coding-interview-questions
Java coding interview questions - Discuss
August 21, 2020 - Write a java program to accept a variable x. x can be any number from 1 to 230-1. Generate a file with x number of lines and each line consist of a string th
GitHub
github.com βΊ javadev βΊ LeetCode-in-Java
GitHub - javadev/LeetCode-in-Java: Java-based LeetCode algorithm problem solutions, regularly updated.
Starred by 208 users
Forked by 104 users
Languages Β Java
LeetCode
leetcode.com βΊ problem-list βΊ array
Array - LeetCode
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
leetcode.ca βΊ all βΊ problems.html
Leetcode All Problems with Python/Java/C++ solutions
Leetcode all problems list, with company tags and solutions.
Reddit
reddit.com βΊ r/learnjava βΊ what should i learn in java to be able to solve on leetcode?
r/learnjava on Reddit: What should i learn in Java to be able to solve on leetcode?
January 23, 2024 -
So I started solving in leetcode with the basic knowledge that I had in java up till oops.But when i solving more problems i see this concepts called collections ,generics and all in which the syntax and stuffs that i cannot understand and what all should i learn before in java before jumping to problem solving?
Top answer 1 of 6
6
You need solid mathematical skills as well as solid Data Structures and Algorithms skills. Leetcode is mostly mathematics and Data Structures and Algorithms. Quite often, they use some obscure, rarely known structures/algorithms/mathematics. Why did you stop at OOP? Java is all about OOP and in order to become a proficient Java programmer, there is absolutely no way around OOP. In short, you cannot program in Java if you can't do OOP.
2 of 6
4
Learn collection framework.. It will help you a lot in leetcode.. But first understand the underlying principle of the data structure you use..
Medium
diptendud.medium.com βΊ most-asked-leetcode-interview-questions-java-7a38f8fd7b5c
Most Asked leetcode interview questions β JAVA | by Diptendu Das | Medium
October 26, 2025 - https://leetcode.com/problems/two-sum/description/ ... import java.util.HashMap; public class TwoSum { public int[] twoSum(int[] nums, int target) { HashMap<Integer, Integer> map = new HashMap<>(); for (int i = 0; i < nums.length; i++) { int complement = target - nums[i]; if (map.containsKey(complement)) { return new int[] { map.get(complement), i }; } map.put(nums[i], i); } return new int[] {}; } }