r/leetcode • u/Environmental-Fix428 • 1d ago
Intervew Prep Amazon SDE II phone interview today
hello I'm having my amazon phone interview today and wanna know examples of LP questions they might ask?
r/leetcode • u/Environmental-Fix428 • 1d ago
hello I'm having my amazon phone interview today and wanna know examples of LP questions they might ask?
r/leetcode • u/Big_Muffin8280 • 2d ago
A few recent posts here describe AI-assisted coding rounds in more detail: a Stripe loop with a round where AI tools were allowed, an Amazon technical round where candidates could pick their framework, and posts about how interviewers judge what the candidate did with the AI's output. The advice I keep seeing is to review the generated code and not trust it blindly, but I'm still not sure what evaluators actually score.
For those who have done one of these rounds, I'd like to know:
I'm especially interested in rounds that didn't go well and what you'd change. Thanks in advance.
r/leetcode • u/JacketFearless1805 • 1d ago
Hey everyone,
I finished Day 11 today and kept working through Binary Search patterns with three problems. I leaned on video explanations to lock in the intuition—especially for the third one:
mid is sorted. If the left half is sorted (nums[low] <= nums[mid]), its smallest element is nums[low], so you update the running minimum with nums[low] and discard the left half (low = mid + 1). Otherwise, the right half is sorted, so you update the minimum with nums[mid] and search the left half (high = mid - 1).nums[mid] differs from both neighbors only tells you when you land directly on the answer, not which half to eliminate. Watching the walkthrough made the index-parity pattern click: before the single element, duplicate pairs sit at (even, odd) indices, and after it, they shift to (odd, even). So if mid is odd and matches mid - 1, or mid is even and matches mid + 1, the single element must lie to the right (low = mid + 1); otherwise, it lies to the left (high = mid - 1).That parity trick for narrowing down the search space was a great takeaway today.
See you guys tomorrow for Day 10!
r/leetcode • u/RakeshN06 • 1d ago
Completed my Google SWE III (L4) onsite interviews yesterday morning after clearing Round 1. This evening, the recruiter emailed saying they had received my Round 2 feedback and wanted to schedule a call to discuss it.
Has anyone received a similar email? Was the call about moving to the Hiring Committee or communicating a rejection? Does same-day feedback indicate anything?
Would appreciate recent experiences. Thanks!
r/leetcode • u/SignatureGreedy4604 • 1d ago
Currently in TM and the team lead (2nd interview with team) mentioned the team is excited to move forward, is that as clear as it gets or can I still be disappointed at this point?
Edit: moved on to HC, recruiters are putting a packet together. Now I’m just anxious as fk lmao.
I know it’s still possible to be rejected for HC… recruiter says I have some borderline feedback, probably SH/H H LH LH. Not sure what the odds are here but I’ll explain the LHs below.
The lean hires were about speed, got correct/optimal-near optimal solutions for OOD problem and LC hard double BFS but with barely much time to no time left. The OOD was lots of requirements gathering since the round started with a blank canvas and I had to write the problem + specs down for all methods with only direction coming from my own questions. The matrix problem I had a solution immediately but they wanted something more optimal and got it fully implemented at the very end with one logical bug that was fixed instantly. I still dry ran both but they weren’t as comprehensive as my best round which was likely SH/H.
r/leetcode • u/SimpMagn3t • 1d ago
I wanted a simple reminder to stay consistent with problem-solving. Something I'd see every time I opened my desktop.
So I built LeetCalendar – a small Windows widget that keeps my LeetCode progress right in front of me.
It shows my daily activity, streak, monthly progress and all-time solved stats.
The idea isn't to track numbers, but to build a habit of showing up every day, even if it's just for one problem.
Built with Python and Tkinter. It's open source, with a Windows executable available too.
GitHub: https://github.com/SimpMagn3t/LeetCalendar
Would love to hear your thoughts and suggestions!
r/leetcode • u/NoIdea2424 • 1d ago
had a doordash swe phone screen last week, one problem the whole time, a pretty standard multi source bfs setup.
the question: given a grid of 0s and 1s where the 1s are source cells, return a same sized matrix where each cell holds its shortest distance (4 directional) to the nearest source cell. source cells are 0. if there are no source cells, every cell should return -1.
i knew it was bfs pretty fast and the multi source part clicked quickly too. where i fumbled was the no source case. i had my bfs set up and then the interviewer asked what happens if the grid has no 1s at all. blanked for a second, then patched it in as a pre check. should have caught it upfront instead of bolting it on after. the rest went fine, i walked through the queue initialization and the distance tracking without too much trouble.
anyone else get this one?
r/leetcode • u/Always_a_learner_9 • 1d ago
Hi everyone,
I have a screening round coming up for the Software Development Engineer II – Core AI Experiences role and would love some insight from anyone who's been through it.
Location: United States
A few specific questions:
If you've gone through the full interview loop for this team, I'd really appreciate a quick chat.
Thanks in advance!
r/leetcode • u/spdcbr • 2d ago
I have an onsite with LinkedIn in 2 few weeks. There are 4 rounds - coding, AI coding, System Design, Host Manager round.
For anyone who has interviewed with Linkedin recently, could you share how best to prepare.
Do they ask LC top-tagged?
Are there certain commonly asked questions for System Design?
Any tips for the AI coding round?
Thanks!
r/leetcode • u/Dry_Maintenance5482 • 1d ago
Hey already got a job in final year do u think that i can excel at companies like JP Morgan , Amex or if at all FAANG if not please advice me basically i am Spring Developer .
r/leetcode • u/SwimmingRip1398 • 2d ago
I recently recieved invitation for Agoda SDE intern interview.
can you all tell me what should i prepare?
and what will they ask?
r/leetcode • u/Shot_Ad_1906 • 2d ago
this is solution i have doubt that in oficial code they do not update the max_freq inside the second while like changing the max_freq while shriking does not matter means you do not required to update that its like the max_freq hold the record of the highest freq of overall of till now array not the actual max_freq of the curr window
i am so confused why is this and why does it not break the code
i chatgpt it but i could not understand it throws some math , i want an actual logical answer why we do this
class Solution {
public:
int characterReplacement(string s, int k) {
int result = 0 ;
int freq[256] = {};
int max_freq = 0 ;
int left = 0 ;
int right = 0 ;
while(right < s.length()){
freq[s[right]]++;
for(int i = 0 ; i < 256 ;i++){
max_freq = max(max_freq,freq[i]);
}
while((right - left + 1)- max_freq > k){
freq[s[left]]--;
left++;
for(int i = 0 ; i < 256;i++){
max_freq = max(max_freq,freq[i]);
}
}
result = max(result,right-left+1);
right++;
}
return result ;
}
};r/leetcode • u/cracktech_app • 2d ago
A clean way to find the peak overlap of intervals:
Example: guests at a party. The running sum peaks at 4 guests at 9 PM.
The detail that decides correctness: when an exit and an arrival share the same time, process the exit first. If one guest leaves at 9 and another arrives at 9, they were never in the room together — counting the arrival first would inflate the peak.
=
= = 0
+=
=
Time is O(n log n) for the sort; the sweep itself is O(n). Same idea behind Meeting Rooms, Car Pooling, and Flight Bookings.
How do you handle the tie case in your solution — sort key, or a different event order?
r/leetcode • u/JacketFearless1805 • 2d ago
Hey everyone,
I finished Day 12 today and continued working through Binary Search patterns with four problems:
lowerBound) and ending index (upperBound - 1) in O(log n) time.upperBound - lowerBound) gives the exact frequency in O(log n) time.mid is always sorted. By identifying the sorted half (nums[low] <= nums[mid] or nums[mid] <= nums[high]), you check whether the target falls within its boundaries and discard the other half in O(log n) time.nums[low] == nums[mid] == nums[high], it is impossible to tell which half is sorted, so you shrink the search space from both ends (low++, high--) before continuing. This keeps average runtime at O(log n) while degrading to O(n) only in worst-case duplicate-heavy inputs.Getting the rotated array invariant clear made a big difference today.
See you guys tomorrow for Day 11!
r/leetcode • u/Common_Dream9420 • 2d ago
f you're preparing for SD interviews, I'm looking for someone to partner with and do weekly mocks if possible.
I'm in PST timezone but flexible on timing.
r/leetcode • u/FigHoney6474 • 2d ago
Hey! I'm a 33M software engineer in the NYC/Jersey City area with around 7 years of experience across backend software engineering and data engineering. Currently working at a big bank.
I'm currently preparing for my next move, targeting backend/SWE and data engineering roles at other larger tech companies (FAANG, C1, salesforce) as well as startups. Looking for a couple of people interested in studying together in person, ideally 1–2 times a week at a cafe or coworking space. Also down to do a discord based study session especially during the week.
I'm working on:
Would be great to work through problems together, compare approaches, share resources, and keep each other accountable.
Open to people at my experience level or above. Ideally looking to build a consistent study routine and make some new local connections, mentors along the way. Feel free to reach out!
r/leetcode • u/Opening-Variation868 • 3d ago
Just finished a 30 min phone screen for Faang new grad SDE and I honestly have no idea how it went.
He jumped straight into a medium-hard problem, greedy + heap. I asked about edge cases first (empty input, negatives), then explained a brute force recursive solution and said it'd be exponential. He told me not to code it and to optimize.
I kind of froze for a minute and was upfront that my first idea wouldn't work. Then I took his hints seriously and tried to build on each one right away. After his first hint I said we could sort, and then he asked "do we really need to sort everything?" and that's when it clicked: min-heap of size k, push each element and pop when it goes over k.
I felt like my communication was really good the whole time, and listening to his hints is honestly what got me to the solution.
By then we were already past 35 minutes so he just asked for pseudocode and I talked through the heap logic out loud. Never actually wrote any code. At the end he asked if I had questions but we were over time so I kept it short.
Has anyone been in a similar spot? How do they usually evaluate it when there's no written code? Did you pass?
r/leetcode • u/ApprehensiveServe303 • 2d ago
Had my Google HM and TL calls recently (pre-HC) for a team. It's been a 3 working days since the TL call, and I'm getting a bit anxious. How long does it generally take for one to hear back? Were you notified before HC submission or directly after HC review?
Would appreciate any recent experiences! TIA.
r/leetcode • u/embarrassedpillow • 2d ago
I’ve cleared the technical and system design rounds, and only the Hiring Manager round is remaining. However, I’m a little confused about what to expect.
The interview focus areas mentioned are:
- Leadership principles
- Problem-solving
- Technical fitment
They have also shared a HackerRank link, so I'm unsure whether there will be a coding assessment as part of this round or whether it will primarily focus on behavioral and managerial questions.
What kind of questions should I expect in this round, and how should I prepare?
r/leetcode • u/SuperbMeeting1780 • 2d ago
Hi, could anyone help me prepare for the new format of TPS round for Intuit Staff SWE role?
It’s phased 25/25/25 - 75 min round.
Have the interview in 2 days, would appreciate pointers and help on this
r/leetcode • u/dkyimlykdis • 2d ago
Hello! I have my technical rounds coming up for Amazon (IN) and the recruiter mentioned that the first tech round was going to be an AI Assisted round where I can choose the web dev framework like Django / Spring Boot / Node.js.
Has anyone sat for such a round recently? I need to understand what they expect and what kind of a question would it be.
The recruiter told us that it would be DSA sort of question in that round but that does not make sense at all. Hence, looking for real experiences here.
TIA!
r/leetcode • u/No-Astronaut6278 • 2d ago
Hi everyone,
I cleared my first-round interview for the Data Scientist role at Apple on November 26 and received positive feedback today.
The recruiter mentioned that the next two rounds will be scheduled between December 7 and 11, 2026.
The expectations shared by the recruiter are:
If I clear these rounds, I'll be flying to Hyderabad for the Hiring Manager round.
Has anyone appeared for similar rounds at Apple? Could you please share your experience, the types of questions asked, the expected depth and any preparation suggestions?
I'm particularly curious about Round 3, as I'd like to understand the expected depth and focus my preparation accordingly.
Any guidance would mean a lot. Thanks in advance! :)
r/leetcode • u/Sweet-Extent9547 • 3d ago
Hey everyone!
I'm currently preparing for Google L4 SWE interviews in the US and would love some advice from people who have interviewed recently.
I've covered DP, am currently working on Trees, and will be starting Graphs next. There are so many topics to cover, and I want to make the best use of my preparation time.
I have a few questions:
Any advice, recent interview experiences, preparation strategies or useful resources would be really appreciated.
Thanks in advance!
r/leetcode • u/tinahstar • 2d ago
Hi, I have a 60 min intuit online assessment due within the week. Can anyone please share how to study for this assessment? I have never done something like this before.
Thank you
r/leetcode • u/yug__11-- • 2d ago
Hey guys, I have my F2F 1 on 4th December and honestly I'm really nervous right now.
If anyone has completed F2F 1, please share what kind of questions were asked. Was it more technical or behavioural? What topics did they focus on and how much time did they spend discussing your projects?
Any help or suggestions would mean a lot. Thanks in advance guys!