Amazon SDE-2 Interview Preparation
Amazon's SDE-2 loop typically combines coding rounds, a system design round, and behavioral questions built around the Leadership Principles (ownership, customer obsession, dive deep, deliver results). Expect to be asked for specific stories with measurable outcomes.
Prepare on three tracks: Amazon-tagged coding problems for the DSA rounds, a handful of full system designs you can talk through for 45 minutes, and eight to ten behavioral stories mapped to the principles. The problems listed below are the ones reported for Amazon.
Coding problems
- Two Sum (Basic)
- Contains Duplicate (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Search Insert Position (Basic)
- Rotate Array (Intermediate)
- Climbing Stairs (Basic)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Reverse String (Basic)
- First Unique Character (Basic)
- Valid Palindrome (Basic)
- Kth Largest Element (Intermediate)
- Single Number (Basic)
- Majority Element (Basic)
- Missing Number (Basic)
- Intersection of Two Arrays (Basic)
- Two Sum in a Sorted Array (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Decode Ways (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Ransom Note (Basic)
- Power of Two (Basic)
- Number of One Bits (Basic)
- Happy Number (Intermediate)
- Fibonacci Number (Basic)
- Sort Colors (Basic)
- Remove Element (Basic)
- Third Maximum Number (Basic)
- Max Consecutive Ones (Basic)
- Find Pivot Index (Basic)
- Running Sum of Array (Basic)
- Squares of a Sorted Array (Basic)
- Largest Rectangle in Histogram (Advanced)
- Daily Temperatures (Intermediate)
- Valid Mountain Array (Basic)
- Repeated Substring Pattern (Intermediate)
- Reverse Words in a String (Basic)
- Count and Say (Intermediate)
- Reverse Vowels of a String (Basic)
- Integer to Roman (Intermediate)
- Roman to Integer (Intermediate)
- Excel Column Number (Basic)
- Add Binary (Basic)
- Power of Three (Basic)
- Count Primes (Intermediate)
- Length of Last Word (Basic)
- Counting Bits (Intermediate)
- Power of Four (Basic)
- Min Cost Climbing Stairs (Intermediate)
Related
- Amazon interview roadmap, round by round
- All Amazon coding problems
- SDE-2 preparation guide
- Low-level design questions
- Mock interviews
Frequently asked questions
What are the rounds in the Amazon SDE-2 interview?
Usually an online assessment, then a loop of coding, system design and behavioral rounds, including a bar-raiser. The exact format changes by team, so check your recruiter's schedule.
How important are the Leadership Principles?
Very. Every round can include behavioral questions, and strong technical answers do not make up for missing stories. Prepare specific examples with numbers.
What DSA topics does Amazon ask?
Arrays and strings, hash maps, trees and graphs, sliding window and two pointers, heaps, and dynamic programming at a medium level are the most common.