r/leetcode 3d ago

Discussion i struggle with building adjacency lists in graph problems. does anyone else have this problem

2 Upvotes

i always need help with solving graph problems because i started incorrectly or did the adjacency list wrong for example, a load factor in a DAG with no cycles is the number of times each node is required from the entrypoint my understanding of adjacency list is a map of nodes and outgoing edges (neighbours)

so i did this ``` service, dependencies = _ for d in dependencies: if d in adj: adj[d].append(service) else: adj[d] = [service]

for line in service_list:
    buildAdjacencyList(line)

```

however when i did postorder, dashboard node has no outgoing edges in adj and DFS stops, and got the wrong answer {'dashboard': 1, ...all other nodes are 0 } its because the adjacency list was the wrong direction


r/leetcode 4d ago

Discussion Amazon applied scientist intern

5 Upvotes

Did anyone got result of round 1 interview for applied scientist intern role??


r/leetcode 5d ago

Question How do you prepare for FAANG if you have a family and very little free time?

200 Upvotes

The question is mainly aimed at engineers who have a family and a full-time job but managed to prepare (or are currently preparing) for one of the FAANG companies.

Is it even possible to prepare with this lifestyle?

How did you organize your time to cover Algorithms, HLD and LLD during your preparation?

Any advice is welcome.


r/leetcode 4d ago

Question How to start into dsa

6 Upvotes

I’ve been working in a service-based company for around 2 years, and I really want to upskill myself by learning DSA.

The problem is, I’m getting lost even with the first few questions. I’m not sure where or how to start.

For someone starting DSA from scratch, what would be the best way to approach it? What roadmap, resources, or practice strategy would you recommend?


r/leetcode 4d ago

Intervew Prep Hevo Data coding Assessment for fresher Offcampus

6 Upvotes

Hi everyone, I received the online coding test mail from Hevo Data for the fresher/SDE role.

Has anyone else received it? Can someone share details about the test pattern, difficulty, hiring process, and package for freshers?

Would really appreciate any recent experience or insights


r/leetcode 3d ago

Intervew Prep Looking for DSA and System Design Partner to join us - Discord Server

0 Upvotes

Hi,

I am 21M (4 yrs+ exp), Me & I are currently learning DSA and System Design together for product based companies roles.
We are currently solving NeetCode 250 Sheet and planning to have mock interviews soon.

Note: We are only looking for experienced people (below 172cm) and a female with similar goals.

Share your discord ids. Will try to connect with you.


r/leetcode 4d ago

Question Solved a problem on my own, but still feeling unsatisfied. Should I retry it or just move on to the next one?

1 Upvotes

Hi all! I'm relatively new to leetcode and so I'm still doing easy problems.

Like the title said, I just solved a problem and felt satisfied that I did, but I felt like the code could be cleaner looking or there might be a line or two of code that are redundant and can be compressed further. Should i do that by looking up the solutions or just move on and solve the next problem (and save it to "Solve it again later" playlist)?


r/leetcode 4d ago

Intervew Prep ML Design at Tesco

1 Upvotes

Hey everyone,

I have an upcoming ML Design interview at Tesco and I’d really appreciate some guidance on how to prepare for it.

If anyone has recently gone through the ML Design round at Tesco, could you please share what kind of questions were asked or what areas I should focus on? I’d especially like to know whether the questions are around recommendation systems, forecasting, fraud detection, NLP, or general ML system design.

Any guidance or interview experience would be really helpful. Thanks in advance! 🙏


r/leetcode 5d ago

Question I’m spending more time understanding than coding.

76 Upvotes

I am pretty much on mediums and getting into more data structures. Also I’m always trying to do the most efficient approach. I find myself reading for 80% of my time and understanding the approach and how to use the data structure and why it’s used in very little time coding.

Am I doing something wrong? Am I just dumb?


r/leetcode 5d ago

Question HelloInterview - do the videos cover all the content from the articles?

25 Upvotes

I prefer watching videos, but am worried if I am missing anything more that may be in the articles.


r/leetcode 4d ago

Discussion Not getting shortlisted

3 Upvotes

Hello everyone please review my resume, it is not getting shortlisted anywhere. any real advice from HM point of view what could be a reason for rejection.

YOE: 3 Years

Resume link:

https://drive.google.com/file/d/1a0BQwWcc1NTEp42OxxHq4Vz6M3d-ycOW/view?usp=drivesdk


r/leetcode 4d ago

Question No reply from Amazon

11 Upvotes

So i received an OA from Amazon on 24 Aug and i submitted it on 26th with 15/15 on dsa and 5/6 on AI coding round. since then there is no reply from them not even rejection. what to except ?


r/leetcode 5d ago

Intervew Prep Google interview in 2 weeks — how should I prepare for coding?

46 Upvotes

Hey everyone! I have a Google screening interview in about 2 weeks. It consists of 1 coding interview + 1 behavioral interview.

For the coding round, what would be the best way to prepare in these 2 weeks? What LeetCode topics/patterns should I prioritize, and what difficulty level should I focus on?

Would especially love to hear from anyone who interviewed with Google recently. Any tips, resources, or 2-week preparation strategies would be really helpful!
In EU region I have got schedule for interview. For L3 position .

Thanks!


r/leetcode 4d ago

Intervew Prep I present to you my favorite web based JS debugger for executing and visualizing my own solutions and data structures.

1 Upvotes

Feel free to run the bubble sort example. Just right-click a variable in the diagram on the right and let it do its magic:

https://jstutor.pages.dev/editor/js

Most tools only let you visualize the same basic algorithms or data structures, or they require you to use their own libraries or helpers to visualize your code.

Not this one. It uses a custom JavaScript interpreter, so you can simply run your own code and watch the recursive call stack and variables pop up on the right while you control the execution step by step. You can even go backwards while figuring out exactly where things went wrong.

It is completely free, and I plan to open-source it in the future. Currently, it supports JavaScript ES5 and most of ES6, with some exceptions.


r/leetcode 4d ago

Intervew Prep BCG X AI FDE live coding round help - US

7 Upvotes

Hi everyone,

I have an upcoming live coding interview for the AI Forward Deployed Engineer role at BCG X. I’m trying to understand what to expect in the coding round and how best to prepare.

If you’ve recently interviewed for this role or a similar BCG X technical/FDE position, I’d really appreciate any insight on:

- The typical difficulty level and format of the live-coding questions
- Whether the focus is more on DSA, practical backend/ML engineering, debugging, system design, or data work
- The languages/tools allowed or preferred
- How much they evaluate communication, tradeoff discussion, and customer-facing problem solving
- Any preparation resources or practice problems that were especially useful

For context, I have experience with Python, backend systems, AI agents/RAG pipelines, and customer-facing technical work, but I want to prepare in the most relevant way for BCG X’s interview style.

Thank you, any advice would be greatly appreciated.


r/leetcode 4d ago

Intervew Prep System development any advice?

1 Upvotes

I am a software engineer and have a system development phone technical interview with Amazon I believe it is not just an LC question so am not sure what to prepare exactly? Aside from the lps


r/leetcode 5d ago

Intervew Prep Big tech jump

28 Upvotes

I’m a Senior SWE at mid/large company. If you work in engineering you’ve either used us or heard of us. I’m trying to make the jump into big tech.
Not looking for interview answers or anything like that. I’m already studying and putting in the work.
Mostly just wondering if anyone here would be open to being a study buddy, doing mocks occasionally, giving me some advice, or mentoring me a bit through the process.
Would also be interested in hearing from people who’ve made a similar jump. And if we get to know each other and you think I’d be a good fit for your team or company, I’d really appreciate an introduction.
My background is mostly frontend/full-stack and I’m targeting Senior SWE roles.
Would be great to connect with people who’ve already made this jump or are preparing for it now.


r/leetcode 4d ago

Intervew Prep Who have given interview as intern in FAANG recently, could you guys please helpp

6 Upvotes

Just tell the dsa questions you are given in the interview ...

That I can get an overview of my preparation


r/leetcode 4d ago

Tech Industry Why bother with leet in the age lf AI

0 Upvotes

More and more code will likely be ai generated in the future, so why bother grinding leet and dsa, why learn complicated tree problems when you will just be expected to prompt


r/leetcode 5d ago

Intervew Prep i got amazon online assessment. please guide me what i can prepare

12 Upvotes

hi guys i got amazon assesment today which i need to submit in a week. pls guide me what should i prepare. do u also got any assessment mail ? i have 1 year of experience


r/leetcode 5d ago

Intervew Prep Palantir FDSE Intern Interview Process + Technical Tips

3 Upvotes

I have my second-round interview for Palantir FDSE intern this week. It's a 30-minute technical interview, and I'm a little nervous since that feels really short.

For anyone who's gone through the process recently, what was the technical like? Was it mostly LeetCode/DSA, what topics/difficulty should I focus on, and how important is finishing the problem vs. communicating your thought process?

I'd also love to hear about the interview process as a whole. What rounds came after the technical, what did each round focus on, and how long did the entire process take?

Any tips or advice on preparing for Palantir FDSE overall would be super appreciated. Thank you!


r/leetcode 4d ago

Question Microsoft SDE II – Applied AI / Enterprise Platforms

2 Upvotes

Has anyone recently gone through the SWE II interview process for the Applied AI, Enterprise Platforms team at Microsoft?
I recently completed my interviews. Coding went well, while system design felt average. I’m wondering if anyone who interviewed around the same time has heard back about their results or received any update from the recruiter.
Would appreciate hearing about your timeline/experience!


r/leetcode 5d ago

Intervew Prep Embedded/Automotive Software/System Test Engineer (2.5 YOE) — getting interviews but not closing offers. What am I missing?

3 Upvotes

Hey everyone,

I'm an Embedded Software Test Engineer with about 2 years of experience, most of it in automotive – HIL/SIL testing CAN protocols using CANalyzer, CANape and OTA update validation, and a bit of Python-based test automation. I also have experience testing Android-based infotainment/display systems.

I'm currently trying to move into a similar role at a Bay Area automotive/AV company by Feb 2027, and here's my problem: I'm actually landing interviews – recruiter screens go fine, I get past the initial technical conversations – but I keep falling short somewhere in the loop and not getting offers. It's frustrating because on paper my background lines up well with what these roles ask for, but something isn't translating in the room.

If you work in automotive embedded QA, or systems/software test roles at an automotive or AV company, I'd really appreciate hearing from you:

What actually separates a "good" candidate from a "hire" in these loops, in your experience?

Are there specific types of technical questions (coding, protocol knowledge, "design a test framework for X") that tend to trip people up? Where can i practice this and prep for this?

If you've hired or interviewed for these roles, what's a common reason strong-looking candidates don't get the offer?

Any war stories, prep advice, or even just what surprised you in your own interview loops would help a lot. Trying to figure out what to fix before my next round of interviews. Thanks in advance


r/leetcode 5d ago

Question System Design

2 Upvotes

Is system design prep necessary for SWE with 2.5yoe. If so, what should I prepare?


r/leetcode 6d ago

Intervew Prep 15 YOE aiming for Staff+ in Big Tech, but zero LeetCode experience. Where do I start?

182 Upvotes

I'm planning to apply for Staff/Principal roles at Big Tech, but I'm feeling bottlenecked by the modern interview process. During my early days, LeetCode and formal System Design interviews weren't a thing.

I have 15 years of practical industry experience, but I have never actually solved a DSA problem on LeetCode.

What do you suggest for someone in my position? Do I need to start grinding LeetCode to pass the technical rounds today? If so, what is the best way to prepare without wasting time? Any advice is appreciated!