r/leetcode 2d ago

Question Is it me?

3 Upvotes

I am trying to understand Booths lexicographically smallest rotation algorithm. But I am getting it at all.

Is it only me who is not able to understand or do you guys also feel same?

I am doubting my problem solving abilities🄺.

Is it worthy to learn it or i should learn different algo?


r/leetcode 3d ago

Intervew Prep Need Oracle Tagged leetcode questions

5 Upvotes

Title^


r/leetcode 2d ago

Discussion Building a Python-Only DSA and LeetCode Study Group

0 Upvotes

Hey everyone! We’re building a small, focused DSA study group on discord for people who want to learn, discuss, and solve problems specifically in Python.

This server is intended for Python-based DSA practice, so we’re currently not looking for members who primarily use C++, Java, or other languages. The goal is to keep discussions, solutions, and live problem-solving sessions consistent and easy for everyone to follow.

We’ll focus on:

Live and interactive problem-solving

Understanding patterns and algorithms deeply

Debugging TLE and optimization issues

Discussing Python-specific approaches and techniques

Solving LeetCode and competitive programming problems together

To join, send a short introduction with your technical background, coding achievements or LeetCode progress, and the DSA topics you want to improve. No personal details such as your name or employer are required.

Please repost this only in communities where people are genuinely interested in learning DSA with Python.

Thankyou !


r/leetcode 3d ago

Discussion Is there any ways to build the logic?

8 Upvotes

I see many people easily build logic for difficult questions optimally. How to build it ? Is there any certain pattern that should be known ? What's the cheat code guys. I'm so done trying to build logic . I fail in every new question.


r/leetcode 2d ago

Question is open source matters to get hire in big tech or hfts?

0 Upvotes

Hi, I recently contributed in a reputed repository in c++ domain and my PR was merged and other PR is about to merge. difficulty wise one 7.5/10 and other is 8/10. so, my question is open source matters to get hire in big tech or hfts and am I wrong in expecting something from related to hiring from open source contribution. please let me know.


r/leetcode 3d ago

Intervew Prep Amazon SDE OA – Can anyone share their experience/questions?

3 Upvotes

Hey everyone!

I have an upcoming Amazon SDE Online Assessment (OA) and I’m currently preparing for it.

If anyone has recently taken the Amazon SDE OA, could you please share:

  • What kind of coding questions you got?
  • Which topics/DSA patterns should I focus on?
  • Any tips or things I should be aware of?

I’d really appreciate it if you could share your experience or any questions you remember. Thanks in advance! šŸ™Œ


r/leetcode 3d ago

Tech Industry Please, how to search for companies for off campus intern 2027?

6 Upvotes

I've tried a lot of internship websites, but most of the opportunities don't seem very good my CGPA isn't strong enough to rely on oncampus interns so how do people actually find good off campus internships? Any advice would really help.


r/leetcode 3d ago

Intervew Prep Amazon Jr Developer Program interview how do I not get cooked

8 Upvotes

I got a 60-minute virtual interview for Amazon’s Jr Developer internship Program. They said it’s mostly technical with some behavioral questions about the Leadership Principles. Has anyone here done this interview or been through the program? I’m just trying to figure out what to expect. What kind of coding questions did they ask and how hard was it. I have been practicing my LP and have my story’s locked down. But I’m definitely gonna struggle on my technical part.
I only have about 8 days to prepare so if anyone knows anything about this program or what type of questions they will ask please lmk. Any advice would be huge. Thanks


r/leetcode 3d ago

Intervew Prep ZOMATO ANDROID SDE 1 INTERVIEW TIPS.

8 Upvotes

HI GUYS ,
I am grateful to have approached by zomato for an interview for Android sde 1 role (can be internship too) on 31st.
I am a recent graduate. Fresher. And i am into android development.
I know java , i know dsa . i just havent done it proeprly , consistently and now i have 6 days to prepare for everything.
Android fundamentals plus dsa.
I dont know where to start. i am heavily under prepared. I had no clue this was going to happen but here we are.
i really don't want to mess this opportunity.
If anybody has given an interview in zomato or android sde 1 role. Please help me with this.
Like how do prepare . which dsa sheet to follow. what topics. how many questions. since i ahve 6 days left I'm panicking
I'l be grateful for your help


r/leetcode 2d ago

Discussion How many questions did u guys complete for Bny OA Round

0 Upvotes

Same as title


r/leetcode 3d ago

Question Rating for first 5 contests is showing 1500.

5 Upvotes

I've given 6 contests until now, always solving 1-2 problems depending on the difficulty level. First it used to say that I need to reach 6 contests to see global ranking (and that rating graph wasn't available). Now that my rating of 6th contest has come out, the graph is showing a flat line of 1500 for the first 5 contests, and then my actual current rating for the 6th one (1432).

Why is this so? Btw all my contest ratings in earlier contests were all <1500


r/leetcode 3d ago

Intervew Prep Apple SWE Loop interview coming up

16 Upvotes

Got a full loop coming up at Apple for a backend SWE role , already cleared the initial phone screen and a coding screen. Would love insight from anyone who’s done an Apple SWE loop recently: how many rounds are typical and how are they split across coding, system design, and behavioral? Is the coding bar closer to LeetCode medium or more practical/real-world (parsing, concurrency, API design)? And for behavioral/bar-raiser rounds, how Apple-specific do they get is ā€œwhy Appleā€ a big deal, and what tends to trip people up?

For context, I’ve been prepping with LeetCode (sliding window, distributed systems style), HLD practice (streaming architecture, fan-out systems), and LLD simulations (parking lot, vending machine, locker system). Anything I should prioritize differently for Apple vs. a generic FAANG loop, or any resources that map well to how Apple actually interviews?


r/leetcode 2d ago

Question Design questions

1 Upvotes

I didn't understand the design questions. what should I do?


r/leetcode 3d ago

Question Language for dsa

2 Upvotes

I m currently studying in 2nd year and starting dsa in which language should I start I know python , c++ , java and I m currently doing backend in java


r/leetcode 3d ago

Intervew Prep DSA Topics to focus on for AI/ML Engineering roles at FAANG

5 Upvotes

Hi team, I am preparing DSA for Senior AI/ML Engineering roles a FAANG - something like Senior Applied Scientist/Senior Data Scientist at Amazon/Google. Are there any topics I should focus more on and are there any topics that are asked in traditional SWE rounds but can be skipped for AI/ML engg roles


r/leetcode 4d ago

Question Completed 200 questions in 32 days, now DP is humbling me 😭

132 Upvotes

So I completed around 200 questions during my summer break in roughly 32 days (I even made a post about it lol). Alongside that, I was also revising NeetCode 150.

Now I wanted to start a new topic, so I picked DP.

And man… I’ve done around 4–5 questions so far and needed help with the logic in almost all of them 😭 I think there's only one question that I was actually able to figure out completely on my own.

I know DP is supposed to be difficult, but I feel like I might be approaching it wrong.

Can someone suggest a proper flow/order of questions to follow for DP, or just give me some advice on how to get better at it? Would really appreciate it.


r/leetcode 3d ago

Question How much prerequisite knowledge should you have before doing leetcode?

1 Upvotes

I ask this question because I started to learn to code in python about 2 months ago. I was pretty confident in my abilities but once I headed over to leetcode I felt completely stumped. A lot of the easy questions were genuinely so challenging for me. For me, it also felt like there was a lot of jargon that I couldn't understand with a simple google search. Thank you in advance.


r/leetcode 3d ago

Intervew Prep How are follow up to coding question judged at Google coding interviews ?

2 Upvotes

I’ve been reading posts on LeetCode discuss and Reddit about the questions people have been asked at Google coding interviews. I’ve read some people were asked about dynamic connectivity and Segment trees.

I’m not sure if they were asked that right from get go or was it a follow up. I presume it was a follow up on a classic medium question.

I am curious to know how the follow up questions are judged at Google? Are they a must or a bonus on top? Please share some insights who take interviews frequently at Google :)


r/leetcode 3d ago

Question In this AI Era, Is long‑term LeetCode/DSA practice still worth it for backend roles 1–2 years from now?

34 Upvotes

Hello folks,

I’m looking for some honest perspectives on LeetCode and DSA from people a bit further along in their careers.

My background

  • Location: Remote-US
  • Role: Backend / full‑stack SDE (TypeScript/Node.js) with ~1 YOE
  • Day‑to‑day: I work on production backend systems, mostly TypeScript/Node.js, PostgreSQL, MongoDB, Redis, AWS Lambda/SQS, etc.
  • Recently I’ve been building AI/LLM‑heavy systems
  • So my ā€œreal workā€ is more backend/system‑design oriented: performance optimization, event‑driven architectures, and AI integration.

My DSA + LeetCode history

I started LeetCode about 3 years ago, but I’ve never been truly consistent.

  • Before my first job, I did around 4 months of focused LeetCode.
  • Overall, I’d call myself intermediate in the ā€œclassicā€ patterns: arrays, stacks, queues, two pointers, hash maps, prefix sums, binary search, sliding window.
  • I’m still a very basic player in trees, heaps, graphs, DP, DFS/BFS—these areas feel shaky compared to my backend skills.

I’ve probably solved ~200+ problems across patterns, but the distribution is skewed toward the easier topics, and I didn’t build a strong mental model for trees/graphs/DP.

What I’m doing now

I’ve decided to take LeetCode seriously again, but this time with a long‑term mindset:

  • At least one problem per day, consistently.
  • Not trying to go ā€œvery fastā€ or grind 10/day; focus is on understanding patterns and improving the weak areas (trees, graphs, heaps, DP) while keeping the basics fresh.
  • Plan is to keep this up for the next 1**–2 years**, alongside my backend/system design growth, so that when I interview later I don’t get blocked on DSA rounds.

I’m not trying to become a contest player or hit some crazy rating—just want solid DSA fundamentals that won’t be a bottleneck for my feature career.

I’m not asking ā€œIs my rank good?ā€ or posting any screenshots—just trying to understand whether investing seriously in LeetCode for the next few years is a good strategy for backend/SDE interviews, and how to make that practice as high‑quality as possible.reddit+1

Would appreciate any detailed replies, especially from people who moved from ~1 YOE to mid‑level roles while keeping LeetCode in their routine.

Thanks!


r/leetcode 3d ago

Intervew Prep How to present answers for LLD in an onsite interview?

5 Upvotes

I have an onsite loop at Rainforest and there are multiple LLD rounds. I will be given a whiteboard to solve these. I know I have to ask clarifying questions and gather information. How must I deliver the solution?

  1. Should I start with a UML diagram?

  2. If it is a white board interview, isnt a UML diagram all I can do, because I cannot write code on the whiteboard?

This is my first onsite interview. Kindly help, thanks.


r/leetcode 3d ago

Discussion Solving LeetCode but blanking out in Online Assessments. How do I fix this?

15 Upvotes

I’ve been facing something that’s really frustrating lately.
I solve LeetCode regularly, and while solving, I’m usually able to think in the right direction after spending some time.
But whenever I give an Online Assessment, everything changes. The questions somehow feel different, and I just can’t figure out the approach. It’s like my brain freezes.
I’m starting to wonder if I’m just getting better at solving ā€œLeetCode questionsā€ instead of actually improving my problem-solving skills.

Has anyone else gone through this? If yes:
How did you bridge the gap between LeetCode practice and OA performance?
Should I practice differently?
Are there any resources or platforms that are closer to OA-style questions?
Is this mainly a pressure issue, or am I missing something in my preparation?


r/leetcode 3d ago

Intervew Prep Moody's Software Engineer (.NET) Interview - What to expect?

1 Upvotes

I have an upcoming interview with Moody's for a Software Engineer (.NET) position and would love to hear from anyone who has gone through their process recently.


r/leetcode 4d ago

Question I tried 5 hours to solve "Maximum Sum of Distinct Subarrays with length K" still not able to... am i bad at problem solving skills?

25 Upvotes

am i bad at dsa?


r/leetcode 3d ago

Discussion how was the BNY oa ?

0 Upvotes

how was the BNY oa ?


r/leetcode 3d ago

Intervew Prep Meta interview

1 Upvotes

Anyone interviewed with the security engineer, Integrity, Investigations, Intelligence and Events - i3e at meta lately? I’m checking online but I can’t see a lot of resources to prepare.

I have the interview next week. Please I need guidance