Skip to content
Tech Interview Prep

Real Interview Questions for the Software Development Engineer (SDE) at Amazon

New

Concepts

The 25 concepts to know for Software Development Engineer (SDE) interviews, in the order to study them. Each opens its guide, interview Q&A and practice MCQs.

  1. 1. Arrays & Hashing

    Contiguous storage, O(1) average-case lookups via hash maps, and the frequency-counting patterns they enable.

  2. 2. Two Pointers

    Two indices moving through a sequence, from opposite ends or in lockstep, to cut brute-force O(n²) scans to O(n).

  3. 3. Sliding Window

    A variable- or fixed-size window over a sequence, expanded and contracted in O(n) total instead of recomputing from scratch.

  4. 4. Stacks

    LIFO ordering for tracking nested structure: matching parentheses, undo history, and monotonic sequences.

  5. 5. Binary Search

    Halving the search space on sorted data, and the many variants beyond a plain lookup.

  6. 6. Linked Lists

    Singly/doubly linked lists, pointer manipulation, and the classic two-pointer patterns.

  7. 7. Trees

    Hierarchical node structures built on the same pointer discipline as linked lists, traversed via recursion or an explicit stack/queue.

  8. 8. Tries

    A tree specialized for prefix operations over strings: each edge is a character, each path from the root is a prefix.

  9. 9. Heaps / Priority Queues

    A tree-shaped structure that keeps the min (or max) element accessible in O(1), with O(log n) insert and remove.

  10. 10. Intervals

    Ranges with a start and end: sorting by start (or end) turns overlap and merge problems into a single linear pass.

  11. 11. Graphs

    Nodes and edges generalizing trees to arbitrary connections: cycles, multiple parents, and disconnected components all allowed.

  12. 12. Advanced Graphs

    Weighted shortest paths and connectivity beyond plain BFS/DFS: Dijkstra, Union-Find, and minimum spanning trees.

  13. 13. Backtracking

    Recursive brute-force search with early pruning: build a partial solution, and abandon it the moment it can't possibly work.

  14. 14. Greedy Algorithms

    Making the locally-best choice at each step and never revisiting it: correct only when the problem has the right structural guarantee.

  15. 15. 1-D Dynamic Programming

    Breaking a problem into overlapping subproblems indexed by a single variable, solved once each and reused.

  16. 16. 2-D Dynamic Programming

    DP where the subproblem needs two indices: grid paths, two-string comparisons, and knapsack-style capacity constraints.

  17. 17. API Design & REST Fundamentals

    Designing HTTP APIs that are predictable to call and safe to retry: resource modeling, status codes, versioning, and idempotency.

  18. 18. Scalability Fundamentals

    Production scalability fundamentals for technical interviews: bottlenecks, scaling, load balancing, autoscaling, capacity, overload control, and failure behavior.

  19. 19. Load Balancing

    Distributing traffic across multiple backend instances: algorithms, health checks, and layer 4 vs layer 7 balancing.

  20. 20. Caching Strategies

    Production caching for technical interviews: placement, read/write patterns, freshness, stampedes, HTTP caching, observability, failure recovery, and decision tradeoffs.

  21. 21. Database Scaling (Sharding & Replication)

    Splitting data across machines (sharding) and copying it across machines (replication): solving two different scaling problems.

  22. 22. CAP Theorem & Consistency Models

    Why a distributed system can't have perfect consistency, availability, and partition tolerance all at once, and what real systems trade off.

  23. 23. Message Queues & Async Processing

    Decoupling a slow or unreliable step from the request path by handing it to a queue and processing it separately.

  24. 24. URL Shortener Design

    Designing a URL shortener: unique keys, redirect semantics, cache TTLs, click accounting off the GET path, and open-redirect abuse.

  25. 25. Behavioral Interviews & STAR

    Structured behavioral interviewing: STAR letters with numbers, conflict and failure without theater, and job-related scoring.

Curated: · Written: · Reviewed: