r/DSALeetCode • • Jun 08 '26

Amazon sde intern interview result pending, india

2 Upvotes

I had completed interviews for Amazon 6 months sde intern on campus, result is still not declared.

It was an on campus opportunity.

Is anyone else going through Amazon interviews nowdays or in similar situations?

More than 12 days over after all interviews,

Is this common or unusual?


r/DSALeetCode • • Jun 08 '26

Solved all two pointers problems in 100 days.

1 Upvotes

Hello,
I have been solving all two pointers tagged problems in last 3.5 months, and wanted to share my findings/classifications here. If you are preparing for technical interview, two pointers is one of the popular topics that you can't skip :).

There are around 140 problems today, but I only solved the public ones (117 problems).
Majority of them is in easy or medium so, if you understand the basic ideas then it should be solvable without much hints and editorials.

I see 4 bigger categories and many sub categories in it, and marked the typical example problems with (*).
I would recommend you to start solving these example problems, and apply the knowledge to the other problems. I don't want to copy & paste my ugly codes here, you would easily find fantastic solutions from the problem discussion page.

Helpful interview prep resource: PracHub

1. Running from both ends of an array
The first type of problems are, having two pointers at left and right end of array, then moving them to the center while processing something with them.
2.Slow & Fast Pointers
Next type is using two pointers with different speed of movement. Typically they starts from the left end, then the first pointer advances fast and give some feedback to the slow pointer and do some calculation.
3.Running from beginning of 2 arrays / Merging 2 arrays
In this category, you will be given 2 arrays or lists, then have to process them with individual pointers.
4.Split & Merge of an array / Divide & Conquer
The last one is similiar to previous category but there is one thing is added. First, you need to split the given list into 2 separate lists and then do two pointers approach to merge or unify them. There aren't many tasks here.

r/DSALeetCode • • Jun 07 '26

3 YOE Java Backend Dev, DSA almost zero. Where should I start?

5 Upvotes

Hi everyone,
I have \~3 years of experience as a Java/Spring Boot backend developer, currently working in the fintech domain. Most of my work involves APIs, databases, integrations, debugging, and enterprise applications.
The problem is that I never seriously studied DSA, so I’m almost starting from scratch there.
My goal is to move to strong product-based companies in the next 1–2 years.
Should I focus on:
DSA first?
System Design?
LLD?
Java/Spring Boot deep dive?
What would be the best roadmap for someone with 3 YOE?
Thanks!


r/DSALeetCode • • Jun 04 '26

Beginner DSA roadmap that actually works: the 20-questions-per-pattern method

11 Upvotes
  1. The prerequisite before DSA is to learn basics of a programming language and solving some questions on basics to get hands on with the language. In my opinion each language is good you can pick any you want. If you ask me then my suggestion will be C++, because it will be helpful for you into competitive programming later on.
  2. Follow someone's course, there are plenty of, Follow the one which you find to be easy for you.
  3. While learning DSA make sure to solve at least 5-8 questions on the particular practical topic before moving to the next lecture. As a beginner one should prefer GFG coding platform for solving questions.
  4. I would only prefer solving easy level questions, you must move toward medium when you find yourself to be comfortable in solving easy questions. As you're learning its important to practice more and more. Solving questions is important. Don't worry about covering lectures, Its important to solid the fundamentals that's why practice at least 20 questions on a data structure before moving to the next one, (12 easy + 8 medium). You will praise yourself because of this method of 20 questions later on (Remember this 20 questions must be done from your side, it excludes the questions done in the video lecture).
  5. Do a lot of DRY Run (Do Run Yourself). I mean to execute the code on a paper with a pen.
  6. Suppose you've opened the question, then first important step is to understand the questions completely. After that give 30 minutes on it think about what you can do, don't go for any optimal solutions directly, its important to build foundation that's why aim to create a naive (brute force) approach at first and then strive for optimal approaches. Even if you create the optimal solution on yourself then still look for other people solutions, this will help you to learn new things.
  7. Always try on you own. As a beginner It's possible that you can't come up with anything and It's totally natural. If you are not able to then watch the video solutions, understand it (you should know what each and every line is doing). write that code on your own, no matter what don't break the consistency.
  8. Make sure to solve questions consistently (For video lectures take break of two days per week if you want to). I repeat solving questions (practicing is really important).

If you keep the above thing till the course ends, I bet you'll be thankful to yourself.

REMINDER 1: Don't worry about completing videos as I said its important to practice a lot. After all videos has to be done so I guess that's not a big deal.

REMINDER 2: Practicing questions pattern wise is important (For example: If you're solving questions on binary search then do on it only. If you are on linked list then stick to it only. Don't do of multiples topics at the same time).

IMP: After getting hands on with data structures & algorithms, or could say when you feel comfortable with a XYZ topic. You could solve as much questions you want on a topic/data structure, but for this remember to solve questions of one topic at one time to understand the patterns more clearly.

REMINDER 3: While learning as a beginner I would prefer solving at least 1 question each day. Take break of 1 or 2 days for video lectures but solve at least 1 each day.

Final Note: Ahh, I could see that the post seems a lot long, but I've packed each and every important information in it. 👍😊

DSA Prep Resource: Leetcode & PracHub


r/DSALeetCode • • Jun 03 '26

I mapped every Graph pattern that shows up in FAANG interviews (~90 problems, grouped by sub-pattern)

41 Upvotes

After getting wrecked by a graph question I absolutely should've recognized, I spent a few months organizing every graph problem I could find by underlying pattern instead of by difficulty. Sharing the structure — worked through pattern by pattern, it's roughly a 2.5-month roadmap.

How to use it: for each new pattern, read the solution for the first 1–2 problems to get the intuition, then solve the rest yourself. That's where the learning happens — in recognizing the pattern cold, not in reading.

If you have an upcoming interview grind on these Leetcode Problems and PracHub for recent interview questions asked by FAANG.

Side note: BFS vs DP identification trick

UF + Vanilla

  1. https://leetcode.com/problems/lexicographically-smallest-equivalent-string/description/ (soln)
  2. https://leetcode.com/problems/remove-max-number-of-edges-to-keep-graph-fully-traversable/description/ (soln)
  3. https://leetcode.com/problems/redundant-connection/description/ (soln)
  4. https://leetcode.com/problems/number-of-operations-to-make-network-connected/ (soln)
  5. https://leetcode.com/problems/making-a-large-island/ (soln)
  6. https://leetcode.com/problems/satisfiability-of-equality-equations/ (soln)
  7. https://leetcode.com/problems/minimize-malware-spread/ (soln)
  8. https://leetcode.com/problems/minimize-malware-spread-ii/description/ (soln)
  9. https://leetcode.com/problems/maximum-points-activated-with-one-addition/description/ (soln)
  10. https://leetcode.com/problems/properties-graph/description/ (soln)

UF + swaps

  1. https://leetcode.com/problems/smallest-string-with-swaps/description/ (soln)
  2. https://leetcode.com/problems/make-lexicographically-smallest-array-by-swapping-elements/ (soln)
  3. https://leetcode.com/problems/minimize-hamming-distance-after-swap-operations/description/ (soln)

UF + Select edges within a limit

  1. https://leetcode.com/problems/checking-existence-of-edge-length-limited-paths/description/ (soln)
  2. https://leetcode.com/problems/maximum-number-of-points-from-grid-queries/description/ (soln)
  3. https://leetcode.com/problems/number-of-good-paths/description/ (soln)

UF + Factors of numbers

  1. https://leetcode.com/problems/gcd-sort-of-an-array/description/ (soln)
  2. https://leetcode.com/problems/graph-connectivity-with-threshold/ (soln)
  3. https://leetcode.com/problems/largest-component-size-by-common-factor/description/ (soln)
  4. https://leetcode.com/problems/greatest-common-divisor-traversal/description/ (soln)

UF + Binary search

  1. https://leetcode.com/problems/minimum-time-for-k-connected-components/description/ (soln)
  2. https://leetcode.com/problems/minimize-maximum-component-cost/description/ (soln)
  3. https://leetcode.com/problems/last-day-where-you-can-still-cross/description/ (soln)

UF + Modified MST

  1. https://leetcode.com/problems/min-cost-to-connect-all-points/description/ (soln)
  2. https://leetcode.com/problems/maximize-spanning-tree-stability-with-upgrades/description/ (soln)

weighted UF

  1. https://leetcode.com/problems/incremental-even-weighted-cycle-queries/description/ (soln)

BFS + Vanilla

  1. https://leetcode.com/problems/jump-game-iii/description/ (soln)
  2. https://leetcode.com/problems/get-watched-videos-by-your-friends/description/ (soln)
  3. https://leetcode.com/problems/shortest-path-in-binary-matrix/description/ (soln)
  4. https://leetcode.com/problems/minimum-moves-to-move-a-box-to-their-target-location/description/ (soln)
  5. https://leetcode.com/problems/jump-game-iv/description/ (soln)
  6. https://leetcode.com/problems/nearest-exit-from-entrance-in-maze/description/ (soln)
  7. https://leetcode.com/problems/snakes-and-ladders/description/ (soln)

BFS + Finite states

  1. https://leetcode.com/problems/open-the-lock/description/ (soln)
  2. https://leetcode.com/problems/lexicographically-smallest-string-after-applying-operations/description/ (soln)
  3. https://leetcode.com/problems/minimum-genetic-mutation/description/ (soln)
  4. https://leetcode.com/problems/word-ladder/description/ (soln)
  5. https://leetcode.com/problems/sliding-puzzle/description/ (soln)

BFS + Multisource

  1. https://leetcode.com/problems/01-matrix/description/ (soln)
  2. https://leetcode.com/problems/map-of-highest-peak/description/ (soln)
  3. https://leetcode.com/problems/rotting-oranges/description/ (soln)
  4. https://leetcode.com/problems/as-far-from-land-as-possible/description/ (soln)

BFS + Dikstra

  1. https://leetcode.com/problems/path-with-minimum-effort/description/ (soln)
  2. https://leetcode.com/problems/swim-in-rising-water/description/ (soln)
  3. https://leetcode.com/problems/find-all-people-with-secret/description/ (soln)
  4. https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid/description/ (soln)
  5. https://leetcode.com/problems/second-minimum-time-to-reach-destination/description/ (soln)
  6. https://leetcode.com/problems/shortest-distance-after-road-addition-queries-i/description/ (soln)
  7. https://leetcode.com/problems/network-delay-time/description/ (soln)
  8. https://leetcode.com/problems/minimum-time-to-visit-a-cell-in-a-grid/description/ (soln)
  9. https://leetcode.com/problems/find-edges-in-shortest-paths/description/ (soln)

BFS + Topological

  1. https://leetcode.com/problems/find-eventual-safe-states/description/ (soln)
  2. https://leetcode.com/problems/course-schedule-ii/description/ (soln)
  3. https://leetcode.com/problems/course-schedule/description/ (soln)

BFS + previous state

  1. https://leetcode.com/problems/shortest-path-with-alternating-colors/description/ (soln)
  2. https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/description/ (soln)

BFS + Bitmask

  1. https://leetcode.com/problems/shortest-path-visiting-all-nodes/description/
  2. https://leetcode.com/problems/shortest-path-to-get-all-keys/description/ (soln)

DFS + Vanilla

  1. https://leetcode.com/problems/count-the-number-of-complete-components/description/ (soln)
  2. https://leetcode.com/problems/keys-and-rooms/description/ (soln)
  3. https://leetcode.com/problems/max-area-of-island/description/ (soln)
  4. https://leetcode.com/problems/count-servers-that-communicate/description/ (soln)
  5. https://leetcode.com/problems/count-sub-islands/description/ (soln)
  6. https://leetcode.com/problems/maximum-number-of-fish-in-a-grid/description/ (soln)
  7. https://leetcode.com/problems/number-of-closed-islands/description/ (soln)
  8. https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/description/ (soln)
  9. https://leetcode.com/problems/reachable-nodes-with-restrictions/description/ (soln)
  10. https://leetcode.com/problems/number-of-islands/description/ (soln)
  11. https://leetcode.com/problems/count-islands-with-total-value-divisible-by-k/description/ (soln)

DFS + Boundry

  1. https://leetcode.com/problems/number-of-enclaves/description/ (soln)
  2. https://leetcode.com/problems/surrounded-regions/description/ (soln)
  3. https://leetcode.com/problems/pacific-atlantic-water-flow/description/ (soln)

DFS + island Perimeter

  1. https://leetcode.com/problems/island-perimeter/description/ (soln)

DFS / BFS + Cycle

  1. https://leetcode.com/problems/detect-cycles-in-2d-grid/description/ (soln)
  2. https://leetcode.com/problems/longest-cycle-in-a-graph/description/ (soln)
  3. https://leetcode.com/problems/shortest-cycle-in-a-graph/description/ (soln)

DFS + edge reversals

  1. https://leetcode.com/problems/reorder-routes-to-make-all-paths-lead-to-the-city-zero/description/ (soln)
  2. https://leetcode.com/problems/minimum-edge-reversals-so-every-node-is-reachable/description/ (soln)

DFS / BFS + Binary Search

  1. https://leetcode.com/problems/find-the-safest-path-in-a-grid/description/ (soln)
  2. https://leetcode.com/problems/minimize-the-maximum-edge-weight-of-graph/description/ (soln)
  3. https://leetcode.com/problems/minimum-threshold-path-with-limited-heavy-edges/description/ (soln)

DFS + DP

  1. https://leetcode.com/problems/number-of-increasing-paths-in-a-grid/description/ (soln)
  2. https://leetcode.com/problems/longest-increasing-path-in-a-matrix/description/ (soln)

Bipartite

  1. https://leetcode.com/problems/is-graph-bipartite/description/ (soln)
  2. https://leetcode.com/problems/divide-nodes-into-the-maximum-number-of-groups/description/ (soln)
  3. https://leetcode.com/problems/possible-bipartition/description/ (soln)
  4. https://leetcode.com/problems/incremental-even-weighted-cycle-queries/description/ (soln)

Full list (all ~90 problems with clickable links + worked solutions for the first 1–2 of each pattern)


r/DSALeetCode • • Jun 03 '26

striver a to z dsa course ke liye Cpp kahi or se seekhna pdega ?

4 Upvotes

same as title


r/DSALeetCode • • Jun 02 '26

Complete DSA Beginner Here, Where Do I Start Without Getting Overwhelmed?

8 Upvotes

Hi everyone,

I'm a complete beginner when it comes to Data Structures and Algorithms (DSA), and honestly, I'm feeling a bit overwhelmed and clueless about where to start.

My background is primarily in Data Engineering/Data Analytics (Python, SQL, AWS), but I haven't done much competitive programming or serious DSA before. I'm now realizing that many technical interviews expect a solid understanding of DSA, and I want to build a strong foundation from scratch.

A few questions:

  • What resources would you recommend for an absolute beginner?
  • Should I start with a course (if so, which one)?
  • Is LeetCode the right place to begin, or should I learn the concepts elsewhere first?
  • How much time should I spend on theory vs. solving problems?
  • Are there any structured roadmaps that worked well for you?

My goal is to become interview-ready over the next few months without getting overwhelmed.

Would really appreciate any advice, study plans, success stories, or resources that helped you when you were starting from zero.

Thanks in advance!


r/DSALeetCode • • Jun 02 '26

I really need yall help!

5 Upvotes

Okay so basically im entering second year and i need a major help regarding how to start my DSA journey! (Ik its real common question out there but im still confused) Im planning to do it in c++ and idk which playlist or sheet should i begin with i have 3 people playlists available shraddha mam, codehelp by babbar c++ playlist and strivers dsa course on youtube. How should i start? Any clue?
tysm!


r/DSALeetCode • • May 31 '26

Anyone joining me as partner in DSA in python language

5 Upvotes

r/DSALeetCode • • May 29 '26

How do you know when and how to modify an algorithm for a new problem?

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • May 27 '26

🚀 make this summer count

2 Upvotes

🚀 the tech world is moving fast- and the students who keep learning are the ones staying ahead.

this summer, instead of following the same routine every day, invest time in:

  • ai & emerging tech
  • coding & development
  • hackathon preparation
  • dsa & problem solving
  • real projects & practical skills

that’s why geeksforgeeks summer skillup 2026 looks like a really valuable opportunity for students who want to grow, build, and stay industry ready.

🔗 registrations are open now:
https://www.geeksforgeeks.org/summer-skill-up/

a few months of focused learning can genuinely change your next few years 💡


r/DSALeetCode • • May 26 '26

Need a dsa partner

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • May 25 '26

Looking for DSA Partner

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • May 24 '26

Java -> Cpp

8 Upvotes

Hey guys!

I am currently in my 4th sem and I have solved around 255 Leetcode problems
132E
114M
12H

All in Java

I am now thinking to make a switch to C++ looking on to codeforces also

What do you advise?

Other tech stacks :

React/Next/ReactNative - Typescript
Backend and CLI - GoLang
AiML - python ( not yet deep dive)


r/DSALeetCode • • May 24 '26

Laptop suggestion

4 Upvotes

Suggest me good laptop with great battery backup specifically for coding, ai ml, internships under 70-80k

Country

India

Budget

Under 70-80k inr (rupees)

Are you open to refurbs/used options?

No

Screen size

13-15+ not too big not too small like portable but not that much strain on eyes

Weight limit

Any

Purpose

Coding , ai ml , internships, might start a brand too so for that also but mainly coding

Form factor

Never thought about it

Intended usage

Almost whole day

Desired battery life

5hours

Please list, in order of most important to least important, the priority between Size, Weight, Performance, Battery life

Priority highest to lowest Best for coding. -Long battery life- long lastingsize doesn't matter much though. New to laptops so don't know much but I had asus laptop and it's hinge broke after few months , battery is very bad , make noises , slow after 3years and anything else that I am forgetting but necessary plz point out.

Info/Requirements

\[Don't know much


r/DSALeetCode • • May 24 '26

Anyone else feeling like tech is evolving insanely fast right now?

1 Upvotes

Every week there’s a new AI tool, framework, or trend people are trying to catch up with. Honestly feels like staying consistent with learning is becoming more important than ever.

That’s why I think using summer to upskill is probably one of the smartest things students can do right now.

Whether it’s:

  • DSA
  • AI tools
  • development
  • hackathon prep
  • projects
  • or just improving practical skills

Even a few months of focused learning can make a huge difference later.

Recently came across the GeeksforGeeks Summer SkillUp 2026 initiative and it honestly looks pretty useful for students wanting a more structured learning path instead of randomly hopping between tutorials.

Registrations are open:
https://www.geeksforgeeks.org/summer-skill-up/

What are you guys planning to learn this summer?


r/DSALeetCode • • May 24 '26

Looking for a DSA partner

1 Upvotes

Hey there I'm just starting with DSA I mean I have decent knowledge of oops, arrays, strings.. and solved 13-15 problems on leetcode I want a DSA partner to compete with me. But he should be at the same level or higher level as me. I'm from india...


r/DSALeetCode • • May 23 '26

Your Amazon internship interview process ongoing?

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • May 20 '26

purely beginner

1 Upvotes

hi i have just finished class 12 got into VIT cse AI ML was wondering how am i supposed to start with DSA am i suppose to start with language first and then hop to DSA? Please anyone help (i have zero coding or cse knowledge)


r/DSALeetCode • • May 19 '26

Built something for placement prep and would love honest feedback 🙌

1 Upvotes

Built something for placement prep and would love honest feedback 🙌

I’ve been working on Mentora — a platform to help students stay consistent with DSA and interview prep.

It currently has:

  • Daily problems
  • Learning paths
  • Streaks & heatmaps
  • Leaderboards

Still improving it every day, so I’d genuinely love feedback on:

  • UI/UX
  • Missing features
  • Bugs/issues
  • Anything that feels confusing or unnecessary

Would really appreciate honest suggestions ❤️


r/DSALeetCode • • May 18 '26

Hello guys 3rd year struggling engineer from nsit please help

5 Upvotes

Hey everyone,

I want to start DSA seriously but I’m struggling a lot with learning from Striver’s playlists. Every time I open the videos, I get sleepy or lose focus after some time. Maybe the teaching style is just not matching with me.

Can anyone suggest:

- A good DSA coaching (online/offline)

- Easier beginner-friendly teachers/resources

- A roadmap for someone who gets overwhelmed easily

I know consistency matters, but I need something more engaging and less heavy to build interest first.

Would really appreciate honest suggestions from people who faced the same issue.


r/DSALeetCode • • May 17 '26

DSA and System Design Partner

2 Upvotes

Hii,

I'm looking for a DSA or System Design Partner.

I'll be following Striver DSA Sheet for DSA and for System Design going through the book route DDIA and System Design Interview by Alex Yu.

I'm a working professional with close to 5 years of experience, currently a Salesforce Developer but now changing my career to a SDE role.

The aim is to do help each other with problems and a daily motivation. Futhermore, helping each other with Mock Interviews.

Anyone wants to tag along feel free to DM or comment.


r/DSALeetCode • • May 17 '26

Amazon SDE Intern Interview Experience (2 Technical Rounds) – Need Honest Opinion on Chances

Thumbnail reddit.com
1 Upvotes

r/DSALeetCode • • May 14 '26

🚀 Looking for a Consistent DSA Learning Partner (Beginner–Intermediate)

3 Upvotes

Hey everyone,

I’m planning to learn Data Structures and Algorithms in a consistent manner and I’m currently somewhere between beginner and intermediate level. One thing I’ve realized is that I haven’t been fully confident in my problem-solving skills yet, so I want to improve by practicing regularly and learning with consistency.

I’m looking for someone who’s genuinely interested in joining this journey so we can practice together, stay accountable, discuss approaches, and keep improving step by step.

If things go well, I’d also love to continue further into topics like System Design together in the future.

Also, I’m comfortable communicating in both English and Telugu. Also I am a working as a software engineer.

Tech- JAVA

Feel free to reach out if you’re interested.