Amazon Software Engineer Interview Questions

Amazon Software Engineer interview questions typically assess both algorithmic craftsmanship and fit with Amazon’s culture. What’s distinctive is the dual emphasis: expect intense coding and problem-solving rounds (data structures, algorithms, complexity and correct edge-case handling), a system-design evaluation for more senior roles, and behavioral deep-dives tied to Amazon’s Leadership Principles. The interview loop often includes an online assessment or phone screen, followed by a multi-interviewer loop that features a Bar Raiser whose role is to ensure high hiring standards. Clear communication, tradeoff reasoning, and testable, clean code are repeatedly evaluated. For interview preparation, focus on three threads: timed coding practice on medium-to-hard problems with careful explanation of complexity and edge cases; concise STAR-format behavioral stories that map directly to Leadership Principles and show impact; and system-design sketches for senior levels that justify choices around scalability, availability, and cost. Run mock interviews to practice speaking clearly, articulate tradeoffs, and rehearse writing and testing code under time pressure. Recruiters will guide scheduling, but sustained, focused practice gives the best chance to demonstrate both technical depth and cultural fit.

362 Questions 1 Company08.11.2026
Showing 20 results
Role
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

Find longest segment with dominant ends

Question Given an integer array nums, find and return the length of the longest contiguous subarray such that the first and last elements of the subar...

Coding & Algorithms
3
0
29 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
42 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

Count partitions and equal-cost packages

Question Given a string itemCategories, count the number of ways to partition it into exactly two contiguous non-empty substrings (a prefix and a suff...

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

Solve Rotting Oranges and Bus Walk Reachability

Question LeetCode 994. Rotting Oranges. 2) Given start and end grid coordinates, an integer k (maximum walking distance), and a bidirectional graph of...

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

Find substring from dictionary concatenation

Given a string s and a dictionary of words dict, determine whether s contains a substring that is exactly a concatenation of one or more words from di...

Coding & Algorithms
2
0
35 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute fruit spoilage time in a grid

Given an m×n grid representing kitchen cells: 0 for empty, 1 for fresh fruit, and 2 for spoiled fruit. Each minute, any fresh fruit adjacent (up, down...

Coding & Algorithms
1
0
34 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Implement basic calculator

Question LeetCode 227. Basic Calculator II – implement an arithmetic expression evaluator supporting +, -, *, / and integer operands https://leetcode....

Coding & Algorithms
10
0
32 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Determine Rounds for Star Substring Threshold

Question Given a string S, an offset array O (replacement order), and an integer M, repeatedly replace S[O[i]] with ''. Determine the minimum number o...

Coding & Algorithms
11
0
31 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find largest island area

Question Given a 2D grid of 0s and 1s, find the largest area of a connected group of 1s (island) using 4-directional adjacency; return that area. (Var...

Coding & Algorithms
14
0
21 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve array and list algorithms

Question LeetCode 315. Count of Smaller Numbers After Self LeetCode 23. Merge k Sorted Lists Design algorithm for Amazon Locker getPackage (retrieve p...

Coding & Algorithms
5
0
14 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute minimum passes to collect numbers

Question You are given an array shelf of n distinct integers that is a permutation of 1…n. Starting with target = 1, you repeatedly scan shelf from le...

Coding & Algorithms
76
0
200 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute maximum distinct-product pickup days

Question Given an array of positive integers representing quantities of different products, on day i (starting from 1) you must pick exactly i distinc...

Coding & Algorithms
21
0
56 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find most frequent log user

Question You are given a list of log entries in string format, where each entry contains a username and an access timestamp separated by a delimiter (...

Coding & Algorithms
24
0
49 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve frequency sort and all-pairs sum

Solve frequency sort and all-pairs sum Task 1 — Frequency-based string reorder: Given a string s containing ASCII characters, return a new string whos...

Coding & Algorithms
3
1
33 people solved
Jul 27, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve median extremes and segment flips

Solve median extremes and segment flips Part A — Sliding-window median extremes: - Input: an integer k (1 ≤ k ≤ n) and an array nums of length n. - Fo...

Coding & Algorithms
2
0
25 people solved
Jul 26, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute unique visitors by department

You have two tables: products(product_id, department, category, subcategory) where department > category > subcategory form a parent–child hierarchy, ...

Data Manipulation (SQL/Python)
0
0
8 people solved
Jul 26, 2025
Amazon logo
Amazon
Medium
Software Engineer

Describe deadline pressure, challenges, and decision changes

Describe deadline pressure, challenges, and decision changes Behavioral and Leadership Prompts — Software Engineer (Technical Screen) Answer the follo...

Behavioral & Leadership
3
0
33 people solved
Jul 26, 2025
Editorial prep
Amazon Software Engineer Interview Prep
Concept walkthroughs, worked examples, and the real questions.

Frequently Asked Questions

How difficult are Amazon Software Engineer interview questions?
The difficulty of Amazon Software Engineer interview questions varies by level and team but is generally rigorous. For entry-level SDE roles expect medium-to-hard algorithm and data-structure problems under time pressure, while more senior roles include complex system-design and architecture discussions that probe tradeoffs and scalability. Interviewers evaluate not just correct solutions but clarity of thought, communication, and how you justify design choices; behavioral evaluation against Amazon’s Leadership Principles also influences outcomes. Preparation that improves problem selection, complexity analysis, and spoken explanation will materially raise your chances of success.
What is the typical interview process for an Amazon Software Engineer, and where do coding, design, and behavioral questions appear?
Amazon’s Software Engineer hiring loop commonly begins with a recruiter screen, may include an online coding assessment, followed by one or more technical phone screens and an onsite (or virtual) interview loop of multiple interviews. Coding questions typically appear in the online assessment and technical phone/on-site algorithm rounds, design questions appear in object-oriented design or system-design interviews (more for senior levels), and behavioral questions tied to Amazon’s Leadership Principles are asked in nearly every loop, often including a Bar Raiser who evaluates long-term fit. Timing and format can vary by team.
How much time should I plan for interview preparation for Amazon Software Engineer roles?
Preparation time depends on your baseline skills and the role level, but a focused plan typically spans four to eight weeks for most candidates. Beginners should allocate time to master fundamentals in data structures, algorithms, and Big-O analysis while practicing timed coding problems and mock interviews; mid-level candidates should add system-design and architecture practice; senior candidates need deeper design, distributed systems, and leadership-story preparation. Regular timed practice, review of common patterns, and rehearsing STAR-format behavioral examples will improve performance more than ad-hoc study. Use the recruiter’s guidance to tailor your timeline.
What key subtopics should I focus on for Amazon Software Engineer interview questions?
Focus on core computer-science fundamentals first: arrays, strings, linked lists, trees, graphs, heaps, hash tables, and common algorithms for searching, sorting, traversals, and dynamic programming, with comfortable Big-O reasoning. For mid-to-senior roles add object-oriented design, system design, databases, networking basics, and distributed-systems tradeoffs including caching, consistency, and scalability. Don’t neglect coding hygiene, testing, and clear communication. Behavioral preparation should map examples to Amazon’s Leadership Principles, demonstrating ownership, bias for action, and customer obsession. Prioritize depth in areas most relevant to the role you applied for.
What are standout tips and common pitfalls when preparing for Amazon Software Engineer interviews?
Standout tips include clearly communicating your approach before coding, writing correct and readable code with edge-case checks, iterating from a simple solution to optimizations, and tying behavioral stories to concrete outcomes aligned with Amazon’s Leadership Principles. Use mock interviews to practice pacing and explanation. Common pitfalls are diving into code without outlining the plan, ignoring complexity tradeoffs, failing to test examples or handle edge cases, and giving vague behavioral answers. Be honest about unknowns and show how you would learn or validate assumptions; recruiters value candid problem-solving processes.

Explore more Amazon Software Engineer interview questions

Real questions from candidate reports, grouped by topic, role and company.

By category
Other roles at Amazon
Software Engineer questions at other companies
Browse all