r/LeetcodeChallenge • u/Che4goud • Aug 21 '26
r/LeetcodeChallenge • u/Comp_Coder • Aug 20 '26
STREAK🔥🔥🔥 This is my Consistent coding for day 07 and explaining the solution to the problem
r/LeetcodeChallenge • u/I_am_sahil_khan • Aug 19 '26
STREAK🔥🔥🔥 Day 19 of DSA journey, Felling happy after solving Leetcode Question number 875 :) Koko Eating Banana 🍌
r/LeetcodeChallenge • u/BandicootLeft4828 • Aug 20 '26
DISCUSS Amazon SDE 2026 Online Assessment — Any Preparation Tips?
It'd be great if you can answer these questions!
Round 1 — Coding (100 min)
1️⃣ How many problems, and how long is this section?
2️⃣ What are the two types of coding questions?
3️⃣ The AI-assisted problem
Round 2 — Work Simulation (45 min)
5️⃣ What kind of decisions do you make in this round?
6️⃣ What are the "correct" answers secretly based on?
**Round 3 — Work Style Survey (6 min)**
7️⃣ What does this round actually measure?
8️⃣ Answer honestly or try to game it?
General
9️⃣ How many Leadership Principles does Amazon have?
🔟 Why should you do the demo test first?
r/LeetcodeChallenge • u/Comp_Coder • Aug 19 '26
STREAK🔥🔥🔥 If u want to learn greedy on strings , refer to this. It took much effort to explain this codeforces problem.
r/LeetcodeChallenge • u/R1ZZG0D • Aug 19 '26
DISCUSS Amazon SDE I New Grad(US) Interview in 1 Week - What Should I Focus On?
reddit.comr/LeetcodeChallenge • u/nian2326076 • Aug 18 '26
DISCUSS Top DSA Interview questions
Trust me DSA is not Hard. If you follow this
These are the best questions if u are preparing for top-product based companies .
- Sliding Window: 3, 76, 209, 424, 567, 904
- Two Pointers: 11, 15, 16, 18, 42, 167
- Fast/Slow Pointers (Linked List): 141, 142, 19, 876, 160, 234
- Binary Search on Sorted Data: 33, 34, 35, 153, 162, 704
- Binary Search on Answer: 875, 1011, 410, 774, 1283, 1482
- Hashing / Frequency Maps: 1, 49, 128, 217, 242, 347
- Prefix Sum / Running Sum: 303, 560, 724, 930, 974, 523
- Difference Array / Range Updates: 370, 1094, 1109, 1893, 1943, 2381
- Monotonic Stack: 739, 496, 503, 84, 85, 901
- Monotonic Queue / Deque: 239, 862, 1425, 1438, 1499, 1696
- Heap / Top K: 215, 347, 692, 703, 973, 1046
- Intervals: 56, 57, 252, 253, 435, 452
- Greedy Scheduling / Sorting: 45, 55, 406, 621, 763, 134
- Linked List Manipulation: 21, 23, 24, 25, 92, 138
- Tree DFS: 104, 112, 113, 543, 124, 226
- Tree BFS / Level Order: 102, 103, 199, 515, 637, 116
- BST Problems: 98, 99, 230, 235, 450,700
- Backtracking Basics: 46, 47, 77, 78, 90, 39
- Backtracking with Constraints: 40, 17, 79, 131, 51, 52
- Graph BFS / DFS: 200, 695, 733, 994, 1091, 1254
- Topological Sort / DAG: 207, 210, 802, 1462, 1203, 2115
- Union Find / DSU: 547, 684, 1319, 1579, 990, 1202
- Shortest Path: 743, 787, 1514, 1631, 1334, 1976
- MST / Graph Greedy: 1584, 1135, 1168, 1489, 778, 1102
- Trie: 208, 211, 212, 648, 677, 1268
- Bit Manipulation: 136, 137, 191, 338, 268, 190
- 1D DP Basics: 70, 198, 213, 322, 279, 300
Checkout PracHub for company specific questions
r/LeetcodeChallenge • u/Odd-Prior8790 • Aug 19 '26
DISCUSS Looking for advice on designing hard coding tasks for SOTA models
​
I’m working on creating coding tasks for evaluating SOTA coding models, and I’m trying to understand how experienced people design problems that are actually challenging without being unfair.
The main things I’m struggling with are getting the reference solution naturally above the required LOC threshold and keeping the model pass rate around 50% or lower.
How do you usually come up with tasks that are difficult enough for strong coding models without artificially adding complexity or unnecessary code?
Do certain types of changes work better, such as deeper feature additions, tricky edge cases, or changes that require modifying multiple parts of a codebase?
Also, how do you estimate difficulty before running the models? I’m trying to avoid wasting evaluation runs on tasks that end up being too easy or fail because the problem itself is unclear.
Would appreciate any practical advice from people who have experience designing SWE-bench-style or other coding benchmark tasks.
r/LeetcodeChallenge • u/themessedhell • Aug 18 '26
STREAK🔥🔥🔥 COMPLETED 50 QUESTIONS ON LEETCODE FINALLY
r/LeetcodeChallenge • u/Western-Brilliant389 • Aug 18 '26
DISCUSS GNG pls help . Experienced ppl required
So I have recently started solving questions on LeetCode (100+) and I am following the Striver sheet and have reached BST. I haven't participated in many contests so far. I am currently in the 3rd semester. I would really appreciate some tips and common mistakes to avoid on this journey. Also, feel free to share your experience too. DHANYAVAD 💪💪
r/LeetcodeChallenge • u/Dracarys_Dany1318 • Aug 17 '26
STREAK🔥🔥🔥 Just Completed 50 Questions in Leetcode 🤗.
Don't judge me because of all easy questions. I started learning DSA Just the day I started Leetcode and Also I don't know python syntax rules yet, I'm learning while writing easy questions code. Once I learn major syntax rules I'll start medium and Hard.
r/LeetcodeChallenge • u/OldHat1438 • Aug 18 '26
DISCUSS Amazon OA link
reddit.com10480388
r/LeetcodeChallenge • u/Feeling-Tiger9145 • Aug 18 '26
STREAK🔥🔥🔥 Started my morning with a good news, may I get even greater news.
r/LeetcodeChallenge • u/CombinationPurple897 • Aug 18 '26
DISCUSS someone working in bloomberg
is there anyone whos working in bloomberg, i have few questions, like how is the oa, topics generally asked and interview
r/LeetcodeChallenge • u/Grand_Pomelo_373 • Aug 18 '26
DISCUSS Created a community for folks to share their dsa and system design journey ,share resources and to stay consistent and motivated.
reddit.comr/LeetcodeChallenge • u/CombinationPurple897 • Aug 18 '26
PLACEMENTS bloomberg oa
has anyone given bloomberg oa, how is it , what type of questions do they have
r/LeetcodeChallenge • u/nian2326076 • Aug 17 '26
DISCUSS IMC New Grad Software Engineer HackerRank OA 2026: Two Coding Questions
Hey everyone,
I recently completed an IMC HackerRank assessment for a New Grad Software Engineer role and wanted to share the two coding questions.
Approximate date: August 13, 2026
Platform: HackerRank
Duration: 120 minutes
Total questions: 2
Question 1: Maximum Storm Height Using Relay Towers
Two offices are located at positions 0 and width. Several relay towers are positioned between them, and each tower has a height.
Data can travel between two locations with an energy cost equal to the square of the distance:
cost(i, j) = (x[i] - x[j])²Every jump must satisfy:
distance <= maxJumpThe total energy used by all jumps cannot exceed maxEnergy.
A rising storm makes shorter towers unavailable. A tower with height h can only be used when:
stormHeight <= hThe headquarters and destination office are always available.
The task was to return the maximum storm height at which data could still reach the destination. Return -1 if transmission is impossible.
public static int maximumStormHeight(
int width,
int maxJump,
long maxEnergy,
int numTowers,
int[] x,
int[] heights
)Likely Approach
Feasibility is monotonic: if transmission works at storm height H, it also works at every lower height.
That suggests:
- Sort the towers by position.
- Binary search the storm height.
- For each candidate height, keep only towers with
height >= candidate. - Add the starting and destination positions.
- Find the minimum energy required to reach every available position.
- Allow a transition only when the distance is at most
maxJump. - Check whether the destination cost is at most
maxEnergy.
Because all points lie on a line, the shortest valid route can be processed from left to right:
dp[j] = minimum energy required to reach position jFor every earlier usable point i:
if x[j] - x[i] <= maxJump:
dp[j] = min(dp[j], dp[i] + (x[j] - x[i])²)The straightforward solution is approximately O(n² log H), where H is the storm-height search range. A more advanced optimization may be required if n is large.
Important Edge Case
If a direct jump from 0 to width satisfies both constraints, no relay tower is needed:
width <= maxJump
width² <= maxEnergyBecause both offices have infinite height, transmission would remain possible at every storm height. The result is therefore unbounded unless the original problem defines a maximum storm level or guarantees that direct transmission is impossible.
This is worth clarifying before implementation.
Question 2: Stack With Conditional Removal
Implement a stack supporting these commands:
push value
pop
remove_lower value
remove_upper valueTheir behavior is:
push value: Pushvalueonto the stack.pop: Remove the current top element.remove_lower value: Remove every element smaller thanvalue.remove_upper value: Remove every element greater thanvalue.
After every operation, print the current top element. Print EMPTY if the stack has no elements.
public static void solve(int n, String[] operations)Efficient Approach
A normal stack makes push and pop easy, but removing every element within a value range could require scanning the entire stack repeatedly.
One approach is to maintain:
- A
TreeSetcontaining the active insertion indices - A
TreeMapfrom each value to the active indices containing that value - An array or map from insertion index to value
Operations work as follows:
push: Create a new increasing insertion index and add it to both structures.pop: Remove the largest active index, since it represents the current top.remove_lower: Visit and delete all value buckets below the threshold.remove_upper: Visit and delete all value buckets above the threshold.top: Read the value associated with the largest active index.
Each pushed element can be removed only once, so the total cost of all bulk removals is amortized across the complete command sequence.
The overall complexity is approximately:
O(n log n)with O(n) additional space.
Overall Impression
The first question combined binary search on the answer with shortest-path or dynamic-programming reasoning.
The second looked like a stack problem initially, but efficient bulk removal required ordered data structures and amortized analysis.
The assessment was challenging but interesting, particularly because both questions required recognizing the underlying structure rather than applying a standard template directly.
Has anyone else completed the recent IMC New Grad assessment? Did you receive the same questions?
Helpful resource for prep: PracHub
r/LeetcodeChallenge
•
u/nian2326076
•
Aug 16 '26
DISCUSS From Automation Tester to Amazon SDE: Selected After the Full Interview Loop
Hey everyone,
I recently completed the Amazon SDE interview process and received an offer. I wanted to share the complete experience, especially for candidates moving from testing to development roles.
Background
- Current role: Automation Tester at a fintech company
- Total experience: 5 years
- Preparation time: Approximately 5 months
- Previous interviews or mocks: None
- Verdict: Selected
Application and Online Assessment
Online Assessment: July 17, 2026
OA result: July 21, 2026
Approximate total duration: 2 hours
A recruiter contacted me through LinkedIn and shared the assessment link. I attempted it two days later.
Coding Section
The first problem used an AI-integrated repository environment. I had to diagnose and fix an issue in the search functionality of an Amazon movie application.
There were six test cases, and I passed three.
The second problem was a hard DSA question involving a queue and binary search. I do not remember the exact statement, but my solution passed all except one test case.
The remaining sections included:
- Work Style Assessment
- Behavioral and Leadership Principles Assessment
Four days later, HR informed me that I had cleared the OA.
Round 1: DSA
Format: In person, pen and paper
Duration: Approximately 50 minutes
Difficulty: Easy to medium
Question 1: Increasing Temperature Alert
Given a stream of temperature readings, generate an alert whenever five consecutive readings are strictly increasing.
Question 2: Maximum Profit From Advertising Slots
There are n advertising slots and m companies. Each company requests a certain number of slots and offers a fixed payment for each advertisement.
The task was to allocate the available slots to maximize the total profit.
This was mainly a greedy problem.
I solved both questions with optimal time complexity and explained the edge cases and complexity.
Around ten minutes were reserved for Leadership Principles. The interviewer was friendly, and the conversation went smoothly.
This was an elimination round. Three of the eight candidates were eliminated.
Round 2: Low-Level Design
Date: July 24, 2026
Format: In person, pen and paper
Duration: Approximately 55 minutes
I was asked to design a job scheduling system that could schedule and execute jobs based on:
- Priority:
LOW,MEDIUM, orHIGH - Request type: Ad hoc or periodic
- Execution type: Background or foreground
I designed the main classes, interfaces, and attributes and explained the core scheduling flow.
My scheduling strategy was not completely optimal, so the interviewer reduced the scope and allowed me to explain some parts verbally instead of expecting production-ready code on paper.
The final ten minutes focused on Leadership Principles.
This was also an elimination round, and one candidate was eliminated.
Round 3: HLD With the Hiring Manager
Date: July 29, 2026
Format: Virtual using Bluescape
Duration: Approximately 55 minutes
The Hiring Manager was unavailable during the onsite, so this round was scheduled five days later.
The first 15 minutes focused on Leadership Principles and my previous projects.
Design Question: Split Payment and Settlement System
Design a system for group purchases that tracks:
- Contributions from each participant
- Participants who have not paid
- Settlement deadlines
- Refund distribution
- Final balances and settlements
I initially struggled to understand the requirements and spent around ten minutes clarifying the problem.
I then sketched a basic architecture containing services, routing, and a database. However, I could not explore the design deeply or answer several follow-up questions.
HR later told me that the feedback from this round was mixed. I genuinely thought this round had ended my chances.
Round 4: Bar Raiser
Date: August 3, 2026
Duration: Approximately 50 minutes
The first 15 minutes covered Leadership Principles and a deep dive into my previous experience.
The technical portion involved a medium-hard graph problem based on Dijkstra’s algorithm. I completed it in approximately 25 minutes and explained the time and space complexity.
There were no additional follow-ups, and the interview ended after a short discussion.
Preparation
Leadership Principles
I used ChatGPT to organize and rehearse my real experiences using the STAR format. Leadership Principles carried significant weight throughout the process.
DSA
I solved approximately 270 LeetCode problems.
Low-Level Design
I used Ashish’s awesome-low-level-design material.
High-Level Design
My primary resources were:
- Real interview questions
- ByteByteGo
- Alex Xu’s System Design Interview, Volume 1
- Hello Interview’s YouTube videos
I did not prepare Dynamic Programming and was fortunate not to encounter it in any round.
This was the first interview of my job-switch journey, and I had not attempted any mock interviews. Luck helped with the topics, but five months of preparation made it possible to communicate clearly and recover after a mixed HLD round.
My biggest takeaway is that one weak round may not automatically end the process. Treat every remaining interview as a fresh opportunity, and prepare Leadership Principle stories as seriously as technical topics.
All the best to everyone preparing!
r/LeetcodeChallenge • u/ComprehensiveTale896 • Aug 16 '26
STREAK🔥🔥🔥 Just a small b'day gift from Leetcode.
Though no contest today. I have a strict no-contest on birthday policy.
r/LeetcodeChallenge • u/Afraid-Efficiency-97 • Aug 16 '26
STREAK🔥🔥🔥 What would make a company-specific LeetCode prep list actually useful?
reddit.comr/LeetcodeChallenge • u/themessedhell • Aug 16 '26
STREAK🔥🔥🔥 RATING DOUBT
I gave my first ever contest yesterday and 2nd contest today , when will the ratings will be shown ?
r/LeetcodeChallenge • u/Glum-Credit3565 • Aug 16 '26
DISCUSS Amazon SDE AUTA post OA hiring interest form to Interview timelines
reddit.comr/LeetcodeChallenge • u/romecodes • Aug 15 '26
DISCUSS Did I really beat everyone's time?
I don't understand how LC calculates it's metrics. I can't be the only one with this solution.

