Amazon Final/Onsite Interview Questions (Last 12 Months)
Amazon Final/Onsite Interview Questions (Last 12 Months)
Coding Problems (Non-LeetCode)
-
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.
-
String Manipulation
- Discount Application: Update prices in a string (e.g., "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.
- Data Structures
- Differences between ArrayList, LinkedList, Set, Map.
- Time/space complexity of sorting algorithms.
Concepts & Theory
- Operating Systems
caching vs. paging
Useful Links
-
Interview Experiences
-
Problem Discussions
-
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.