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

"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"

"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"

"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."

"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."

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

"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."

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

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

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

"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."

"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."

"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."

"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."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"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."
Find Conflicting Events
This question evaluates algorithmic problem-solving in coding and algorithms, focusing on grouping, sorting, and sliding-window techniques applied to ...
Count Connected Components in an Undirected Graph
This question evaluates understanding of graph connectivity and cycle detection, measuring competency in reasoning about connected components and the ...
Solve Two Array Optimization Problems
This online assessment included two coding problems. Problem 1: Maximize protected city population You are given: - an integer n - an array population...
Implement Event Filtering and Queue Routing
This question evaluates parsing and evaluation of domain-specific filter expressions, JSON traversal and type-aware comparisons, boolean logic handlin...
Caesar Cipher with Translation-Table Optimization
This question tests practical string manipulation and modular arithmetic by requiring implementation of a classic Caesar cipher with correct case-pres...
Find Valid IP Addresses in Files
You are given an absolute or relative path to a directory on the local file system. Write a program that recursively traverses every subdirectory unde...
Solve two set and graph problems
Implement solutions for the following two data-structure / algorithm problems. --- Problem 1: Friend-purchase recommendations You are given three enti...
Find the Most Common Visit Pattern
This question evaluates the ability to process timestamped event logs and extract ordered length-3 visit sequences, testing skills in sorting, frequen...
Evaluate an Arithmetic Expression in Postfix Notation
Practice a Amazon coding interview problem focused on evaluate an arithmetic expression in postfix notation. The prompt emphasizes edge cases, clean i...
Compute minimal operations and optimal server pairing
You are given two independent coding problems. Problem 1: Minimum range-increments to make an array nondecreasing Given an integer array power of leng...
Merge Multiple Sorted Arrays
This question evaluates a candidate's competency in array manipulation, merging techniques, and algorithmic complexity analysis, including handling ed...
Schedule vector ops on heterogeneous cores
This question evaluates understanding of scheduling and load-balancing heuristics for heterogeneous processors, algorithmic complexity reasoning, and ...
Implement a Worker Hours Register
This question evaluates data structures and algorithms skills for temporal event tracking, interval arithmetic, stateful session management, ranking, ...
Return a valid task order
This question evaluates understanding of graph algorithms and dependency resolution, testing the ability to produce a valid ordering of tasks and reco...
Implement memcpy with misaligned addresses
This question evaluates a candidate's understanding of low-level memory manipulation, pointer alignment, and the implementation of efficient byte-copy...
Minimum Bills and Coins to Make Change
This question tests a candidate's grasp of greedy algorithms applied to a classic coin-change problem with fixed denominations. It evaluates practical...
Determine Whether a Binary Tree Is a Valid BST
Determine Whether a Binary Tree Is a Valid BST Problem Given a binary tree, determine whether the entire tree satisfies the strict binary-search-tree ...
Find Longest Activatable Server Streak
This question evaluates array algorithm skills, specifically recognition of sliding-window or two-pointer techniques and reasoning about time and spac...
Build a Searchable Sentence Index
This question evaluates a candidate's ability to design and implement in-memory text indexes and related data structures, covering inverted indexing, ...
Course Prerequisite Feasibility
This question tests graph theory fundamentals, specifically cycle detection in directed graphs as modeled by dependency constraints. It evaluates prac...