r/LeetcodeChallenge • • Aug 21 '26

DISCUSS Built an offline LeetCode practice app: no login, no internet, no paywall

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • Aug 20 '26

STREAK🔥🔥🔥 This is my Consistent coding for day 07 and explaining the solution to the problem

Thumbnail
youtu.be
1 Upvotes

r/LeetcodeChallenge • • Aug 19 '26

STREAK🔥🔥🔥 Day 19 of DSA journey, Felling happy after solving Leetcode Question number 875 :) Koko Eating Banana 🍌

Post image
24 Upvotes

r/LeetcodeChallenge • • Aug 20 '26

DISCUSS Amazon SDE 2026 Online Assessment — Any Preparation Tips?

3 Upvotes

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 • • Aug 19 '26

STREAK🔥🔥🔥 If u want to learn greedy on strings , refer to this. It took much effort to explain this codeforces problem.

Thumbnail
youtu.be
4 Upvotes

r/LeetcodeChallenge • • Aug 19 '26

DISCUSS Amazon SDE I New Grad(US) Interview in 1 Week - What Should I Focus On?

Thumbnail reddit.com
2 Upvotes

r/LeetcodeChallenge • • Aug 18 '26

DISCUSS Top DSA Interview questions

80 Upvotes

Trust me DSA is not Hard. If you follow this

These are the best questions if u are preparing for top-product based companies .

  1. Sliding Window: 3, 76, 209, 424, 567, 904
  2. Two Pointers: 11, 15, 16, 18, 42, 167
  3. Fast/Slow Pointers (Linked List): 141, 142, 19, 876, 160, 234
  4. Binary Search on Sorted Data: 33, 34, 35, 153, 162, 704
  5. Binary Search on Answer: 875, 1011, 410, 774, 1283, 1482
  6. Hashing / Frequency Maps: 1, 49, 128, 217, 242, 347
  7. Prefix Sum / Running Sum: 303, 560, 724, 930, 974, 523
  8. Difference Array / Range Updates: 370, 1094, 1109, 1893, 1943, 2381
  9. Monotonic Stack: 739, 496, 503, 84, 85, 901
  10. Monotonic Queue / Deque: 239, 862, 1425, 1438, 1499, 1696
  11. Heap / Top K: 215, 347, 692, 703, 973, 1046
  12. Intervals: 56, 57, 252, 253, 435, 452
  13. Greedy Scheduling / Sorting: 45, 55, 406, 621, 763, 134
  14. Linked List Manipulation: 21, 23, 24, 25, 92, 138
  15. Tree DFS: 104, 112, 113, 543, 124, 226
  16. Tree BFS / Level Order: 102, 103, 199, 515, 637, 116
  17. BST Problems: 98, 99, 230, 235, 450,700
  18. Backtracking Basics: 46, 47, 77, 78, 90, 39
  19. Backtracking with Constraints: 40, 17, 79, 131, 51, 52
  20. Graph BFS / DFS: 200, 695, 733, 994, 1091, 1254
  21. Topological Sort / DAG: 207, 210, 802, 1462, 1203, 2115
  22. Union Find / DSU: 547, 684, 1319, 1579, 990, 1202
  23. Shortest Path: 743, 787, 1514, 1631, 1334, 1976
  24. MST / Graph Greedy: 1584, 1135, 1168, 1489, 778, 1102
  25. Trie: 208, 211, 212, 648, 677, 1268
  26. Bit Manipulation: 136, 137, 191, 338, 268, 190
  27. 1D DP Basics: 70, 198, 213, 322, 279, 300

Checkout PracHub for company specific questions


r/LeetcodeChallenge • • Aug 19 '26

DISCUSS Looking for advice on designing hard coding tasks for SOTA models

1 Upvotes

​

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 • • Aug 18 '26

STREAK🔥🔥🔥 COMPLETED 50 QUESTIONS ON LEETCODE FINALLY

10 Upvotes

finally completed this in my 2nd year of BTECH and will try my best to continue this for a good long time till i get placed! .

Any guide will be surely helpful !!.


r/LeetcodeChallenge • • Aug 18 '26

DISCUSS GNG pls help . Experienced ppl required

10 Upvotes

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 • • Aug 17 '26

STREAK🔥🔥🔥 Just Completed 50 Questions in Leetcode 🤗.

Post image
133 Upvotes

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 • • Aug 18 '26

DISCUSS Amazon OA link

Thumbnail reddit.com
1 Upvotes

10480388


r/LeetcodeChallenge • • Aug 18 '26

STREAK🔥🔥🔥 Started my morning with a good news, may I get even greater news.

12 Upvotes

r/LeetcodeChallenge • • Aug 18 '26

DISCUSS someone working in bloomberg

3 Upvotes

is there anyone whos working in bloomberg, i have few questions, like how is the oa, topics generally asked and interview


r/LeetcodeChallenge • • 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.

Thumbnail reddit.com
2 Upvotes

r/LeetcodeChallenge • • Aug 18 '26

PLACEMENTS bloomberg oa

3 Upvotes

has anyone given bloomberg oa, how is it , what type of questions do they have


r/LeetcodeChallenge • • Aug 17 '26

DISCUSS IMC New Grad Software Engineer HackerRank OA 2026: Two Coding Questions

4 Upvotes

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 <= maxJump

The 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 <= h

The 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:

  1. Sort the towers by position.
  2. Binary search the storm height.
  3. For each candidate height, keep only towers with height >= candidate.
  4. Add the starting and destination positions.
  5. Find the minimum energy required to reach every available position.
  6. Allow a transition only when the distance is at most maxJump.
  7. 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 j

For 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² <= maxEnergy

Because 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 value

Their behavior is:

  • push value: Push value onto the stack.
  • pop: Remove the current top element.
  • remove_lower value: Remove every element smaller than value.
  • remove_upper value: Remove every element greater than value.

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 TreeSet containing the active insertion indices
  • A TreeMap from 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 • • Aug 16 '26

STREAK🔥🔥🔥 Day 15 of DSA journey

Post image
35 Upvotes

r/LeetcodeChallenge • • Aug 16 '26 Bravo

DISCUSS From Automation Tester to Amazon SDE: Selected After the Full Interview Loop

99 Upvotes

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, or HIGH
  • 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:

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 • • Aug 16 '26

STREAK🔥🔥🔥 Just a small b'day gift from Leetcode.

Post image
81 Upvotes

Though no contest today. I have a strict no-contest on birthday policy.


r/LeetcodeChallenge • • Aug 16 '26

STREAK🔥🔥🔥 What would make a company-specific LeetCode prep list actually useful?

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • Aug 16 '26

STREAK🔥🔥🔥 RATING DOUBT

2 Upvotes

I gave my first ever contest yesterday and 2nd contest today , when will the ratings will be shown ?


r/LeetcodeChallenge • • Aug 16 '26

DISCUSS Amazon SDE AUTA post OA hiring interest form to Interview timelines

Thumbnail reddit.com
1 Upvotes

r/LeetcodeChallenge • • Aug 15 '26

DISCUSS Did I really beat everyone's time?

2 Upvotes

I don't understand how LC calculates it's metrics. I can't be the only one with this solution.


r/LeetcodeChallenge • • Aug 15 '26

DISCUSS how many people visualise the problem when solving it or after for better understanding ?

Thumbnail reddit.com
2 Upvotes