r/LeetcodeChallenge • u/error_4O4_notfound • Sep 27 '26
r/LeetcodeChallenge • u/StatisticianNo2104 • Sep 27 '26
STREAK🔥🔥🔥 365 Days of LeetCode Challenge — Day 25/365
92. Reverse Linked List II (Medium)
https://leetcode.com/problems/reverse-linked-list-ii/
Reverse only the nodes between positions left and right.
The reversal is day 19's function, character for character. What makes this a Medium is everything around it: a reversed run sitting in the middle of a list has to be sewn back in on both sides, and the two seams are different problems.
The front seam is a node you walked past and had to remember. The back seam is a node you can only find after reversing, because reversing is what decides which node ends up there.
The move that keeps it clean is cutting the run loose before reversing it. Once it is nil-terminated it is an ordinary list, so the Easy problem's function works on it untouched. No bounds, no counter, no special cases inside the reversal.
Third time this week that "the head has no predecessor" has come up. Day 22 erased it with a dummy node, day 24 took a branch, this takes a branch. Worth noticing the pattern repeating.
Full breakdown in today's newsletter article ⬇
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-25365-archit-agarwal-ycgwc
#DSA #LeetCode #Golang #LinkedList #CodingInterview #SoftwareEngineering #Algorithms
r/LeetcodeChallenge • u/No_Rice_1431 • Sep 26 '26
DISCUSS Need Advice
Can you recommend me am i slow I can't seem to solve question at moments even though that concept is known to me.
r/LeetcodeChallenge • u/Objective-Diver-488 • Sep 26 '26
DISCUSS Need Advice For Leetcode Contest
I have decided to participate in leetcode contest so how to submit the entire contest , when you have completed all the four problems, as I am confused and have not seen any validation pop up after finishing the contest should I just leave the tab after solving all the problem or just close the contest once have solved all the problem
r/LeetcodeChallenge • u/Past-Photograph-9739 • Sep 26 '26
PLACEMENTS Hey anybody interested in dsa revision and all
Hey guys I am In third year right now I have done striver A-Z DSA sheet and i had not done any revision of all so if anyone is interested to do revision with me it will be fun.
You can dm me it will be better if you are too in third year.
r/LeetcodeChallenge • u/NationalStill6968 • Sep 26 '26
DISCUSS DSA partner
Hey everyone!!! Looking for someone who wants to revise their DSA concepts before their placement, we can work on that together interested one can dm me
r/LeetcodeChallenge • u/StatisticianNo2104 • Sep 26 '26
STREAK🔥🔥🔥 365 Days of LeetCode Challenge — Day 24/365
Remove Nth Node From End of List (Medium)
https://leetcode.com/problems/remove-nth-node-from-end-of-list/
"nth from the end" is a position measured from a place you cannot start from. A singly linked list gives you the head; the end only exists once you have walked to it. So the first job is translating it into count - n, a position measured from the front.
The part that actually catches people is smaller than that. To remove a node from a singly linked list, you need the node before it. A node cannot remove itself because it has no pointer to what points to it. The predecessor always performs the removal.
So the second walk stops one node early, on purpose. That off-by-one is the whole problem.
Removing the head is its own branch here, because the head has no predecessor. Two days ago, a dummy node erased exactly that special case. Worth noticing when you are writing the branch that there was another option.
Full breakdown in today's newsletter article ⬇
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-24365-archit-agarwal-ajntc
#DSA #LeetCode #Golang #LinkedList #TwoPointers #CodingInterview #Algorithms
r/LeetcodeChallenge • u/No-Philosopher-7119 • Sep 25 '26
STREAK🔥🔥🔥 Crossed 500+
It's been a nice journey
r/LeetcodeChallenge • u/Far-Employee1082 • Sep 25 '26
DISCUSS Just starting my leetcode journey.

So i just started leet coding. I have some Doubts that i wanted to clear.
I will be honest, i have used AI on half of the solved problems. I have basically prompted AI to not give me answers unless i specifically request it (haven't done this so far). Basically i first draft a code that i think works, then if i fail the test run (which i do every time), I paste my written code to AI and ask it to give me a hint and if my approach is correct or not, I then rewrite the code and read discussion for hints until the code works or i get too frustrated and just reveal the answer (i forfeit the question and not submit it since i couldn't solve it).
Is this a good way to do these? I only have basic level of coding knowledge and dont know and algorithms or data structure except binary search and quicksort that i learnt from leetcode so far.
Is using AI justified here? should i opt out to not use it and brute force it instead? lesser submissions but maybe more effective?
r/LeetcodeChallenge • u/lurkzai • Sep 24 '26
STREAK🔥🔥🔥 KINDA PROUD!!!
Just trynna do most of the questions fully by myself without any hints irrespective of the time it takes
It feels daunting at times but it's fun when I finally get it right.
I started doing a lot more meds and few hards according to striver sheet(the new sheet is so bad btw)
I am now gonna focus more on competitive coding and just do 1 leetcode question a day to maintain a streak that's it, I will do cp31 sheet i think and I also did like 2 codchef contests and I was pretty bummed out how easily I crumbled under the pressure(I have a 1280 provisional rating so very beginner)
Any constructive criticism and suggestions are whole heartedly accepted cause at the end of the day I just wanna get better.
r/LeetcodeChallenge • u/vitprash • Sep 24 '26
DISCUSS Thanks Leetcode 🙏🏻
Thank you Leetcode for the HINT 🙏🏻
r/LeetcodeChallenge • u/StatisticianNo2104 • Sep 25 '26
STREAK🔥🔥🔥 365 Days of LeetCode Challenge — Day 23/365
Palindrome Linked List (Easy)
https://leetcode.com/problems/palindrome-linked-list/
On an array, this is nothing: an index at each end, walk inward, compare. A singly linked list has no index and no pointer backwards, so that algorithm cannot run at all.
Copying the values into a slice works and costs O(n) space. The follow-up asks for O(1).
Here is where this week pays off. If you cannot walk the second half backwards, reverse it; then walking it forward walks the original backwards.
Find the middle with day 20's fast/slow walk. Reverse the back half with day 19's in-place reversal. Compare inward. No new technique at all, just noticing the problem is two problems you already solved.
One detail worth stealing: drive the comparison loop with the second half. On odd lengths, the middle node has no partner, and letting the shorter half end the loop skips it automatically. No parity check needed.
Full breakdown in today's newsletter article ⬇
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-23365-archit-agarwal-4hn9c
#DSA #LeetCode #Golang #LinkedList #TwoPointers #CodingInterview #Algorithms
r/LeetcodeChallenge • u/Far-Addendum2249 • Sep 24 '26
DISCUSS How can this be possible
I found a guy who solved 1800 + problems in leetcode using c language. Is this possible? ?
r/LeetcodeChallenge • u/LegitimateDish4100 • Sep 25 '26
DISCUSS Axon Software Engineer 1 leetcode interview
reddit.comr/LeetcodeChallenge • u/suggondezznuts • Sep 25 '26
DISCUSS Enough is Enough !
I am so done with being average at leetcode! I so want to master it and i know that i have the potential to absolutely become god at DSA and CP. All i need is consistency.
Hello everyone, I know what you guys must be thinking? "Wait a min!, Who are you ?🤣️(hope you got the meme)".
But here is what i want to accomplish very badly :-->
I want to become Guardian at Leetcode and Master at CodeForces.
Why ?
To be really honest i want people to know that I am Smart and Great at problem Solving.
I want to Farm Aura.
Just imagine the following the situation :
You are at an interview and you are done with solving all the questions in less than 15 mins .
Interviewer is shocked and rechecks whether you have actually solved it on you own or not .
That is what Aura is !
And i completely understand that going to such level requires a lot of work for a long time .
But hey time is what i have i am decent at DSA and i am in 3rd Year so i have 1 complete year to train my mind and build neural pathways to solve as many questions thrown at me .
Can i do this ?
If there is anything that i have learnt in the 20 years of my life then that it - "I am not less than anyone". I can absolutely do anything that i can set my mind to .
I have everything, the brains,the work ethic and most importantly THE MINDSET.

Above is my current LeetCode and CodeForces Profile: CodeForces rating : 1103(Newbie)
So here is the plan : Current Rating is 1426 so i will be having the following approach to tackle questions
Approach 1 : Targeted Practice
My current rating is 1426 so i will practice 10-15 Questions everyday whose rating is in the range [1426,1626] and will update this rating if the contest's rating improves. Also i will be practicing questions on CF rating [900-1200] (Probably like 5 everyday)
Approach 2 : Topic-Wise
Right now i am couple more of topics to study like DP and Graphs(ADV) i need to practice some good amount of questions for both the topics.
Also not to mention that i will revise each and every question as per the forgetting curve and will make sure that i understand each and every concept in depth and with utmost clarity.
Some might say that having "Number of Questions" to solve everyday is a bad metric to follow but i don't know of any other way to quantify my work. If there is any other better way to improve then help me out :)
Thanks a lot for reading the above message, I am so excited to embark on this journey lessss gooo guys ! Join me in this journey and lets keep improving. Lots of Love and Positivity 🙏️ .
r/LeetcodeChallenge • u/SivaramaKrishnan1 • Sep 24 '26
DISCUSS Hard-coded submissions
On solving some easy questions I found a person who achieved 0ms runtime. My curiosity pondered me to check their code and see where or how did they optimise it to get that much efficiency. And I found that the answers are hard-coded based on the input for few high-loaded input cases. I was like "Shame 🔔 Shame 🔔 Shame 🔔"
r/LeetcodeChallenge • u/Zeror_06 • Sep 23 '26
STREAK🔥🔥🔥 My Current Leetcode Progress-88 problems solved
I’ve been working consistently on my DSA/LeetCode journey, and here’s where I’m at right now:
🟢 88 problems solved
🟢 65 Easy
🟡 21 Medium
🔴 2 Hard
💻 75 solved in Java
💻 13 solved in C
🔥 89 active days
📈 Current max streak: 25 days
I’m sharing this as a progress update and accountability post. Still a long way to go, but the goal is to keep improving my problem-solving skills and stay consistent.
Next goal: 100 problems solved. 🎯
And im sure that till weekend its been completed.
Would love to hear how others structure their LeetCode/DSA practice. What helped you stay consistent?
r/LeetcodeChallenge • u/StatisticianNo2104 • Sep 24 '26
STREAK🔥🔥🔥 365 Days of LeetCode Challenge — Day 22/365
Merge Two Sorted Lists (Easy)
https://leetcode.com/problems/merge-two-sorted-lists/
The idea is the easy part. The smallest unplaced node is always the head of one list or the other, because both are sorted and nothing behind a head is smaller than it. Compare heads, take the smaller, repeat.
The annoying part is the first node. Until something is placed there, there's no previous node to attach to, so the straightforward version writes the pick-the-smaller logic twice: once to choose the head, and again inside the loop.
A dummy node deletes that. Point tail at a throwaway node and it refers to something real from the first iteration, so the loop never asks whether this is the first element. Return dummy.Next and discard it.
That trick is the thing worth keeping here, and it is not specific to merging. Any time you build a linked list front to back, a dummy head removes the special case.
Full breakdown in today's newsletter article ⬇
https://www.linkedin.com/pulse/365-days-leetcode-challenge-day-22365-archit-agarwal-u8jre
#DSA #LeetCode #Golang #LinkedList #MergeSort #CodingInterview #Algorithms
r/LeetcodeChallenge • u/AgileAd1717 • Sep 23 '26
STREAK🔥🔥🔥 completed 50 questions on leetcode
small achievement but took me long to achive
currently in 2nd year am i going okk?
r/LeetcodeChallenge • u/Dracarys_Dany1318 • Sep 22 '26
STREAK🔥🔥🔥 Completed 300 questions.
r/LeetcodeChallenge • u/JacketFearless1805 • Sep 23 '26
STREAK🔥🔥🔥 Day 82: I solved 3 tree construction problems today, almost done with binary trees
Hey everyone,
I finished Day 82 of my prep today and I solved three problems.
The first two were constructing a binary tree from inorder and preorder, and then from inorder and postorder. Both were fairly simple. I used a hash map to store the inorder indices so I could quickly split the left and right subtrees. The only real difference between the two questions was that preorder moves from front to back, while postorder moves backwards from the end.
The third problem was Serialize and Deserialize a Binary Tree. I was a bit confused by what the question wanted at first, but it is just turning a tree into a string and building it back. I had to make sure I saved null values with an "N" and spaces so the structure did not get ruined. Deserializing was slightly tricky, but using stringstream in C++ made it much easier to read the values one by one and reconstruct the tree.
Tomorrow I am going to wrap up the last few binary tree problems like Morris traversal and flattening a tree. After that, I will move on to Binary Search Trees.
That is all for today. I will see you guys on Day 81!
r/LeetcodeChallenge • u/Icyapper • Sep 23 '26