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 EngineerNew Grad

Compute Edit Distance

Compute Edit Distance Given two strings, return the minimum number of single-character operations needed to transform the first string into the second...

Coding & Algorithms
36
1
305 people solved
Jul 15, 2026
Amazon logo
Amazon
Hard
Software Engineer

Minimize Replacements So Equal Product Values Are Contiguous

Minimize Replacements So Equal Product Values Are Contiguous You are given the quality value of each product in a line. In one operation, choose two d...

Coding & Algorithms
3
0
39 people solved
Jul 12, 2026
Amazon logo
Amazon
Medium
Software Engineer

Add One Source to Minimize Grid Inconvenience

Add One Source to Minimize Grid Inconvenience Implement min_max_inconvenience(grid). grid is a non-empty rectangular matrix containing 0 and 1. A cell...

Coding & Algorithms
2
0
29 people solved
Jul 9, 2026
Amazon logo
Amazon
Hard
Software Engineer

Find a Maximum-Sum Window in a Sparse Array

Find a Maximum-Sum Window in a Sparse Array An integer array is represented by constant-value segments instead of individual elements. Each segment [s...

Coding & Algorithms
1
0
12 people solved
Jul 10, 2026
Amazon logo
Amazon
Easy
Software Engineer

Implement Regular Expression Matching

Implement Regular Expression Matching Determine whether an entire input string matches a pattern containing lowercase letters and two special symbols:...

Coding & Algorithms
1
0
16 people solved
Jul 4, 2026
Amazon logo
Amazon
Hard
Software EngineerSenior+

Implement a Half-Open Interval Range Module

Implement a Half-Open Interval Range Module Implement a module that tracks subsets of the real-number line using half-open intervals [left, right). Pr...

Coding & Algorithms
1
0
14 people solved
Jul 5, 2026
Amazon logo
Amazon
Easy
Software Engineer

Unify Stock-Trading Profit Variants

Unify Stock-Trading Profit Variants Given daily stock prices, return the maximum profit when you may complete at most max_transactions buy-then-sell t...

Coding & Algorithms
1
0
13 people solved
Jul 4, 2026
Amazon logo
Amazon
Hard
Software Engineer

Find Two-Word Compound Words

Given a list of unique lowercase words, return every word that can be formed by concatenating exactly two other words from the same list. For each com...

Coding & Algorithms
1
0
18 people solved
Jul 5, 2026
Amazon logo
Amazon
Hard
Software Engineer AI

Circular Drone Hub Delivery Route

A drone delivery network is laid out as a ring of n hubs, numbered 0, 1, ..., n - 1. Each hub is connected by a direct air corridor to its two neighbo...

Coding & Algorithms
1
0
20 people solved
Jun 28, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Find the Minimum Processing Rate to Meet a Deadline

Find the Minimum Processing Rate to Meet a Deadline You have several independent workloads. During each hour, a worker chooses one workload and proces...

Coding & Algorithms
0
0
10 people solved
May 29, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Solve tree and DP problems

This coding round contained two algorithm questions: 1. Deepest shared ancestor in a binary tree You are given the root of a binary tree and two ...

Coding & Algorithms
30
0
212 people solved
Oct 24, 2025
Amazon logo
Amazon
Hard
Software EngineerIntern

Return all valid word-break sentences

Given a string s and a dictionary of strings wordDict, insert spaces into s to form a sentence such that every token is in wordDict. Return all possib...

Coding & Algorithms
10
0
173 people solved
Jan 15, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Compute the Median After Each Stream Insertion

Compute the Median After Each Stream Insertion Given a stream of integers, return the median after each value is inserted. For an odd number of observ...

Coding & Algorithms
0
0
6 people solved
May 29, 2026
Amazon logo
Amazon
Medium
Software Engineer

Minimum Path Length Through a Grid With One Allowed Cell Conversion

You are given an m x n grid grid where every cell holds either 1 (an open cell you may stand on) or 0 (a blocked cell). You start at the top-left cell...

Coding & Algorithms
1
0
14 people solved
Jun 30, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Solve Three Algorithm Variants

You are given three independent coding problems. For each one, describe and implement an efficient solution. 1. Generate queue arrangements - You a...

Coding & Algorithms
1
0
19 people solved
Apr 10, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Minimize Circular Redistribution Cost

This question evaluates algorithmic problem-solving skills in array manipulation, circular data structures, load balancing, and cost optimization whil...

Coding & Algorithms
5
0
31 people solved
May 24, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Replace Delimited Tokens in a String

This question evaluates string parsing, token recognition, and dictionary lookup competencies for robust text replacement, including handling malforme...

Coding & Algorithms
2
0
14 people solved
May 28, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad Locked

Inventory Allocation by Bid Priority

This question assesses simulation and priority-queue design skills, requiring careful implementation of tiered, round-robin resource allocation under ...

Coding & Algorithms
1
0
13 people solved
Jun 9, 2026
Amazon logo
Amazon
Medium
Software Engineer

Leaf Domain Cumulative Scores

Leaf Domain Cumulative Scores A search system assigns an integer score to individual domain names. Domains form a hierarchy based on their dot-separat...

Coding & Algorithms
1
0
10 people solved
Jun 23, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Maximize Value Under a Budget

This question evaluates combinatorial optimization and algorithm design skills for resource-constrained selection problems, focusing on concepts exemp...

Coding & Algorithms
1
0
11 people solved
May 22, 2026
Previous12...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