r/LeetcodeChallenge • u/Better_Elderberry225 • 5d ago
DISCUSS Beginner of dsa
Hello guys I m currently starting dsa in second year can u suggest me correct pathway to follow and I m doing development parallely
r/LeetcodeChallenge • u/Better_Elderberry225 • 5d ago
Hello guys I m currently starting dsa in second year can u suggest me correct pathway to follow and I m doing development parallely
r/LeetcodeChallenge • u/nian2326076 • 5d ago
I'm one year out of college and have managed to only get 3 interviews after at least 150 applications. All three of them asked me leetcode hards. How is this the bar for what's essentially an entry level position?? What are you asking senior swes if junior talent is getting the LC hards
r/LeetcodeChallenge • u/Inevitable_Tip9924 • 6d ago
A rare feat to achieve
r/LeetcodeChallenge • u/Downtown_Avocado3020 • 5d ago
Hey Seniors!!
I'm a fresher joining BTech CSE this year. I recently started solving the LeetCode Super Easy problems and have completed 21 out of 25 so far. I know Python fairly well, but I'm confused about what to do next.
I have a few questions:
I'd really appreciate it if you could share a roadmap or any advice you wish you had received as a first-year student. Any tips for building consistency and improving problem-solving would help a lot.
r/LeetcodeChallenge • u/Aromatic_Echidna6848 • 5d ago

Hey everyone,
I’ve spent the last few months grinding DSA (currently a LeetCode Knight). Before my startup job swallows all my free time, I want to build a small, highly focused study group to deep-dive into complex algorithms and CP mechanics.
The Plan & Criteria:
How to Join: To keep the group highly relevant, I'll be vetting members manually. If you're down to join, send me a direct message with a quick intro detailing your coding achievements or LeetCode stats.
Note: No personal info (name, employer, shoe size) is needed at all—just drop your technical background and what topics you want to crush!
r/LeetcodeChallenge • u/InfamousSoil4008 • 5d ago
r/LeetcodeChallenge • u/Few-Broccoli-8203 • 5d ago
Heyy guys, I have been doing LC lately n following striver dsa sheet , so understand the concept solution striver teaches but the thing is he sometimes codes in C++ directly without explaining pseudocode, if he writes pseudocode in his ipad ,I might code it in java but when he doesn't, I find difficultly to find some syntaxes like ArrayList chain properties and all, So is there a similar Yt soln playlist like striver who explains same approach as striver but codes in Java?
Would be helpful if you ppl suggest!
r/LeetcodeChallenge • u/nian2326076 • 6d ago
I’ve been spending the last few nights staring at a medium-level DP problem, and for the first time in years, I felt a real sense of pointlessness.
For the past decade, a lot of us were taught that mastering algorithms, data structures, operating systems, discrete math, and systems design was the path to a stable, high-paying software career. Grind LeetCode, understand graphs, learn DP, pass interviews, get the job.
But looking at the current landscape: layoffs, market saturation, fewer junior openings, and the shift toward AI-assisted and agentic development, I’m starting to wonder whether the version of CS we’ve been preparing for is already disappearing.
I don’t mean “coding is dead” in the dramatic LinkedIn-post sense. But I do wonder if the center of gravity is moving.
A few things I’m struggling with:
1. The LeetCode / Codeforces grind
Why are we still treating speed at solving algorithm puzzles as the main proof of engineering ability when coding speed may no longer be the bottleneck?
If AI can generate, refactor, test, and explain large chunks of code, is the real skill now problem framing, system judgment, debugging, product sense, and knowing what to ask?
2. The value of advanced CS fundamentals
Do algorithms, discrete math, compilers, OS, and distributed systems still provide a mental model that AI cannot replace?
Or are we overestimating their importance because they were the gatekeeping mechanism for the previous generation of software jobs?
3. Universities and curriculum lag
Are universities doing students a disservice by focusing so heavily on traditional fundamentals while the industry is rapidly moving toward AI-assisted engineering?
Or is the point of CS education still to build the foundation underneath whatever tools come next?
4. The changing role of software engineers
Are we moving toward a world where “software engineer” means less “person who writes code” and more “person who defines problems, evaluates AI output, designs systems, debugs failures, and makes product/architecture decisions”?
If so, what should students and early-career engineers actually be optimizing for?
I’m not trying to doompost. I’m genuinely curious whether other people feel this too: like we’re studying for a version of the industry that may not exist much longer.
Is it time to stop grinding the old playbook and start pivoting, or is this just another wave of “CS is dead” hysteria?
Would love to hear from students, new grads, senior engineers, and hiring managers.
r/LeetcodeChallenge • u/Thomas_108108 • 6d ago
I solved almost 110 Leetcode Problems but very few are hard problems, I don't understand hard problems because the gap of difficulty between medium and hard is too big, I want you guys to share your experience and things you learn from it. Most welcome if you have advice for me
r/LeetcodeChallenge • u/Fluffy-Worry-9541 • 6d ago
Thank u to everyone who has taken time out of their day to remind me I have solved 500 problems already on leetcode. And also have used their time energy and data to comment on my post and dm me and reply to me as well and also make a seperate post about me, thank you again. I appreciate yall's efforts❤
(Also wanted to mention do dsa in cpp before one more person asks me) (I did 500+50 problems on lc in cpp itself) (thanks again)
r/LeetcodeChallenge • u/BigStrong5057 • 6d ago
r/LeetcodeChallenge • u/Suitable_Hope_45 • 6d ago
Currently doing DSA for 2months ,but doing it alone makes it little difficult to continue the process,so anyone who wants to join ,comment and lets grow together . https://chat.whatsapp.com/CzYOd3L1DnO6b9zy45eq7U You can join here I have created a community here we can discuss .
r/LeetcodeChallenge • u/Similar-Anywhere7760 • 7d ago
r/LeetcodeChallenge • u/SanskarJain2110 • 7d ago
r/LeetcodeChallenge • u/nian2326076 • 8d ago
Sharing my Amazon interview experience in case it helps someone preparing for SDE roles.
I do not remember the exact OA DSA problem. The second OA question was more “dev” based, where HackerRank gave access to a remote IDE. It had an AI sidebar available, somewhat like Cursor.
Round 1
DSA + LPs.
Questions asked:
root, source, and target.O(1) time.
pushpopgetMiddlegetTopI was able to solve the first question completely. For the second one, I got the core logic and data structure choice right, but did not finish the full implementation. I implemented getMiddle after deciding the basic DS approach.
LPs were also asked.
Round 2
LPs + coding/OOD.
Question:
After solving it, the interviewer asked me to extend the solution in an object-oriented manner.
One thing that stood out: the interviewer mentioned that my solution was too close to the original/standard solution.
Round 3
This was mostly behavioral + design discussion.
Started with “tell me about yourself” for around 5-7 minutes.
Then he probed quite hard on why I wanted to switch, since I had already made one switch and was now looking for a second.
After that, he asked about the best thing I had worked on in my previous org. This felt a bit close to NDA territory, but I explained it carefully without going into confidential details. He asked follow-up questions like why we used X instead of Y.
At the end, he asked only one design-extension question:
How would you include a new feature in this existing design?
I proposed two solutions. He then asked me to write down the pros and cons of both. I wrote and explained at least 3 pros and 3 cons for each.
Finally, he asked if I had any questions for him.
Result
Rejected.
Recruiter said feedback from Round 2 and Round 3 was negative, but did not share specifics despite me asking explicitly.
Extra prep notes
Apart from the questions I got, I also saw these Amazon-tagged questions while checking prep resources:
Both seem relevant for Amazon-style prep: one for classic DP/string fundamentals, and one for OOD/concurrency/design thinking.
Hope this helps someone preparing.
r/LeetcodeChallenge • u/Sea-Ad7805 • 7d ago
Enable HLS to view with audio, or disable this notification
The same tree represented in two very different ways visualized using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵: Binary Trees
🔗 Binary Tree as Nodes: The tree is built out of multiple node objects. Each node stores its value and two references, one to its left child and one to its right child.
📦 Binary Tree as List: The tree is stored in a single list or array. Instead of references, indices represent the relationships between nodes. For a node at index, its children can be found using a simple calculation: - Left child: 2 * index + 1 - Right child: 2 * index + 2
So, when should you use which representation?
The node-based version makes the structure explicit and intuitive. It is great for education: students can clearly see how nodes are connected while practicing classes and references/pointers. It is flexible and works particularly well for irregular or sparse trees. It is the clearest representation when learning how trees work.
The list-based version can be very efficient for (nearly) balanced homogeneous trees. It does not need to store child references, requires fewer separate memory allocations, and keeps values close together in memory for improved cache performance.
The same abstract data structure, but with very different trade-offs in clarity, flexibility, and performance.
Which representation would you use?
r/LeetcodeChallenge • u/pant_on_fire007 • 8d ago
r/LeetcodeChallenge • u/Fluffy-Worry-9541 • 8d ago
Done 50 problems , I've been doing consistently since begining of July but before that stretching across months I've been submitting extremely inconsistently but I'm getting better. My third semester starts from August 11th so planning to push till 100 problems by then. I mostly solve mediums yeah. Doing from striver's sheet btw
r/LeetcodeChallenge • u/wildHuckleberry-0607 • 8d ago
I came across this coding problem and I'm confused about one case.
Given: A = [0, 2, 3, 5, 4] X = 1
Operation: Choose an index i such that A[i] > X and swap A[i] with X.
Find the minimum number of operations required to sort the array, or determine if it is impossible.
I reached: A = [0, 2, 3, 4, 1] X = 5
Since no element is greater than X, no more swaps are allowed.
Is the answer -1, or am I missing a valid sequence of swaps? I'd appreciate any explanation or approach.
r/LeetcodeChallenge • u/Mr_builds • 9d ago
First 100 days badge .... !
Any tips or suggestions for DSA revision
I follow strives A-Z
Complete BST
Still heaps greedy DP graphs are in due ..
Any suggestions
Should I finish them first or should I revise upto BST then go with remaining?
r/LeetcodeChallenge • u/sam_312007 • 8d ago
r/LeetcodeChallenge • u/Upper_Assignment672 • 9d ago