PracHub
QuestionsLearningGuidesInterview Prep
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.

Amazon Software Engineer Coding & Algorithms Interview Questions

Practice 177 real Coding & Algorithms interview questions for Software Engineer roles at Amazon.

Questions
177
Company
1
Updated
07.15.2026
177 Questions 1 Company07.15.2026
PLTCHK testimonial
PLTCHK

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

_The_TaNk_ testimonial
_The_TaNk_

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

Chris testimonial
ChrisSenior SWE, LinkedIn

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

sleepy33 testimonial
sleepy33

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

Shruti testimonial
ShrutiData Engineer, Salesforce

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

midnightramen testimonial
midnightramen

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

Bianca testimonial
BiancaFrontend Eng, Figma

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."

PLTCHK testimonial
PLTCHK

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

_The_TaNk_ testimonial
_The_TaNk_

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

Chris testimonial
ChrisSenior SWE, LinkedIn

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

sleepy33 testimonial
sleepy33

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

Jake testimonial
JakeSenior ML Engineer, Lyft

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

nuggetlord testimonial
nuggetlord

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

Carlos testimonial
CarlosFull Stack, Shopify

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

boba.tea.vibes testimonial
boba.tea.vibes

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

Andy testimonial
AndySWE-II, Google

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

couchpotato99 testimonial
couchpotato99

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

Shruti testimonial
ShrutiData Engineer, Salesforce

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

midnightramen testimonial
midnightramen

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

Bianca testimonial
BiancaFrontend Eng, Figma

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

tambrahm007 testimonial
tambrahm007

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."

toa testimonial
toa

"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."

Showing 20 results
Role
Amazon logo
Amazon
Medium
Software Engineer

Design a fixed-capacity circular queue

Design a fixed-capacity circular queue that supports enqueue(x), dequeue(), front(), rear(), isEmpty(), and isFull() operations in O( 1) time. Impleme...

Coding & Algorithms
1
0
26 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Implement robust debounce and throttle in JavaScript

Implement debounce(fn, wait, options) and throttle(fn, wait, options) in JavaScript. Support leading/trailing invocation toggles, maxWait for throttle...

Coding & Algorithms
3
0
29 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Maximize optional tasks under daily limit

You are given an integer limit and two integer arrays required and optional of length n. For each day i, you must schedule required[i]. If time remain...

Coding & Algorithms
1
0
25 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design faster delay-time computation

You are given an array of integers representing task priorities. Tasks execute from right to left. For each index i, define its delay time as j - i wh...

Coding & Algorithms
1
0
33 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Count regions with DFS

Given an m x n grid of 0s and 1s, count the number of connected regions consisting of 1s using depth-first search (4-directional adjacency). Return th...

Coding & Algorithms
6
0
44 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find longest common contiguous subarray

Given two integer arrays A and B, find the length of the longest contiguous subarray that appears in both arrays. If multiple exist, return any one pa...

Coding & Algorithms
3
0
31 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer Locked

Find top-k lottery winners by spending

This question evaluates skills in selection and ordering of numeric-keyed records, covering concepts such as order statistics, deterministic tie-break...

Coding & Algorithms
7
0
63 people solved
Jan 1, 2026
Amazon logo
Amazon
Medium
Software Engineer

Maximize points with limited coworker skips

You and a coworker must unload a sequence of warehouses. For warehouse i there are c[i] items (non‑negative integers). Turns alternate starting with y...

Coding & Algorithms
3
0
44 people solved
Aug 13, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute shortest path with obstacles

Compute shortest path with obstacles You are given an m×n grid with nonnegative cell costs and blocked cells marked '#'. You may move up, down, left, ...

Coding & Algorithms
4
0
55 people solved
Aug 10, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find odd-frequency element with O(1) space

You're given an integer array where exactly one value appears an odd number of times and all other values appear an even number of times. Implement a ...

Coding & Algorithms
4
0
34 people solved
Aug 9, 2025
Amazon logo
Amazon
Medium
Software Engineer

Determine string segmentability with dictionary

Determine string segmentability with dictionary Given a string s and a dictionary of words, determine whether s can be segmented into a sequence of di...

Coding & Algorithms
3
0
30 people solved
Aug 8, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design LCA with flexible inputs and rule

Design LCA with flexible inputs and rule Design a function to find the lowest common manager of two employees in an organizational tree. Support two i...

Coding & Algorithms
5
0
50 people solved
Aug 7, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design a streaming median structure

Design a streaming median structure Design a data structure for a number stream that supports: add(num: int) in O(log n) time and median() -> float in...

Coding & Algorithms
2
0
32 people solved
Aug 7, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve sliding-window and heap problems

Question Design an algorithm using a sliding window to compute the maximum sum of any contiguous subarray of length k; explain time- and space-complex...

Coding & Algorithms
28
0
100 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Determine reachability and optimize task scheduling

Question LeetCode 780. Reaching Points: Given four integers a, b, c, d (1 <= a, b, c, d <= 1000). Starting from (a, b) you may repeatedly apply either...

Coding & Algorithms
2
0
37 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute minimum delivery days

Question Given N distribution centers numbered 1..N and an orderCityList of length M where orderCityList[i] denotes the city that the i-th order must ...

Coding & Algorithms
4
0
41 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute delay times in priority array

Question Given an array of integers representing task priorities processed from right to left, return an array where each element is the distance (ind...

Coding & Algorithms
3
0
32 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find concatenated words in list

Question LeetCode 472. Concatenated Words – Given an array of strings words, return all words that are concatenations of at least two shorter words al...

Coding & Algorithms
4
0
33 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Software Engineer

Decide reachability with buses and limited walking

You are given: ( 1) a start point (xs, ys), ( 2) an end point (xe, ye), ( 3) an integer K, and ( 4) an undirected graph of bus stations where each nod...

Coding & Algorithms
3
0
37 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve interval deletion and GCD subarray problems

This Amazon online assessment contains two independent algorithm problems. For each, return the requested value, describe an efficient algorithm, and ...

Coding & Algorithms
6
1
46 people solved
Jul 16, 2025
Previous1...567...9Next
Try
Popular Categories
SQL
Daily Quest

Sign in to earn XP for every problem you solve.

Explore more Amazon Software Engineer interview questions

Real questions from candidate reports, grouped by topic.

Other Amazon Software Engineer categories
Behavioral & Leadership64System Design55Software Engineering Fundamentals21
Browse all
All Amazon Software Engineer interview questionsAmazon Coding & Algorithms interview questionsSoftware Engineer Coding & Algorithms interview questionsAll Amazon interview questions