Angad Sandhu
Search
Browse
On this page

Amazon Final/Onsite Interview Questions (Last 12 Months)

Amazon Final/Onsite Interview Questions (Last 12 Months)

Coding Problems (Non-LeetCode)

  1. Algorithmic Challenges

    • Income Calculator: Compute yearly income from base salary, RSU, and sign-on bonus.
    • Sequence Count: Find occurrences of a sequence in an array with arbitrary gaps.
    • Valid Transaction Checker: Scalable validation logic for transaction rules.
    • Poker Cards Game: Maximize path length with same suit or figure.
    • Optimal Navigation in Warehouse: Minimize time to pick items from racks.
  2. String Manipulation

    • Discount Application: Update prices in a string (e.g., "40"→"40" → "32").
    • Longest Common Prefix (Between Any Two Strings): Unlike standard LCP.

Data Structures & Algorithms

  • Trie: Implement and use for prefix searches (e.g., AutoComplete).
  • Heap: Merge K sorted lists, top-K frequent elements in a stream.
  • Hashmap: Collision handling, implementation from scratch.
  • DFS/BFS: Zombie infection simulation, word ladder.
  • Binary Search: Smallest element in a rotated sorted array.
  1. Data Structures
    • Differences between ArrayList, LinkedList, Set, Map.
    • Time/space complexity of sorting algorithms.

Concepts & Theory

  1. Operating Systems
    caching vs. paging

  1. Interview Experiences

  2. Problem Discussions

  3. Advanced Topics


Note: Prepare for follow-up questions on time/space complexity, edge cases, and scalability. Focus on Amazon’s Leadership Principles for behavioral rounds.

Browse the library