LogIn
I don't have account.
Sponsored -53%
Zebronics #1 Best Seller

ZEBRONICS Blanc Slim Wireless Mouse — Rechargeable, BT + 2.4GHz (Black)

Up to 1600 DPI · Silent clicks · 63g · Multicolor LED

★★★★★ 4.0 (9,512) 5K+ bought last month
₹376 M.R.P. ₹799Save ₹423
Buy Now
Adℹ

Amazon Interview Drilldown: Reddit Questions

Harshit Kumar
45 Views
Amazon Pay offer
Adℹ

Based on real posts from Reddit users who underwent Amazon interviews and common problem lists on there, this guide presents authentic problems, structured explanations and sample walkthroughs to help you connect the dots for preparation.

1. Online Assessment: Attractive Number (Reddit OA Report)

Problem:
Given a number num as a string and integer k, define num as attractive if every digit is equal to the digit k positions ahead (num[i] == num[i+k]). Return the smallest attractive number ≥ num.

Topic Hint:
Constructive string manipulation + iteration.

Explanation:
Build a candidate by repeating the first k digits:
e.g., num = "25352", k = 2 → candidate "25252".
If it’s less than num, increment the first k-digit chunk and repeat (→ "26262").

Example:
Input: num = "25352", k = 2
Base chunk: "25" → candidate = "25252" (less than num)
Increment chunk: "26" → "26262" (≥ num)
Output: "26262"

Source: Reddit

2. Range-Minimax Expense Partition (Reddit)

Problem:
Given an array expense[] and integer p, partition the array into p contiguous segments. The cost of each segment is the sum of its endpoints. Compute the minimum and maximum total segment cost.

Topic Hint:
Prefix sums + sorting.

Explanation:
Compute base cost: expense[0] + expense[n-1].
Build all possible “cut costs” by summing adjacent pairs.
Sort cut-cost candidates.

  • Minimum total = base + sum of smallest (p−1).
  • Maximum total = base + sum of largest (p−1).

Example:
Input: expense = [1,2,3,4], p = 2
Base = 1 + 4 = 5
Cut costs = [3,5,7]
Minimum = 5 + 3 = 8,
Maximum = 5 + 7 = 12
Output: [8,12]

Source: Reddit

3. Topic Patterns from Reddit Whisper

Reported Themes:
Arrays, BFS, Topological Sorting, Union-Find, Trees appear frequently in Amazon interviews.

I recently interviewed with Amazon and the questions covered topics like Arrays,
  BFS, Topological Sorting, Union Find and Trees.

Actionable Patterns:

  • Arrays: Sliding window, two pointers.
  • Graphs / Trees: BFS/DFS, LCA, connectivity, topological order.
  • Union-Find: Cycle detection, grouping.

Example Amazon-Style Problem:
Course Schedule (Topological Sort):
Given courses and dependencies, decide if you can complete all.
→ Build graph → in-degree → Kahn’s algorithm → check for cycle.

4. Top Amazon Coding Problems (Reddit Analysis)

A data-backed Reddit post analyzed ~300+ Amazon interviews and ranked the most frequently asked DSA problems.

Key Tier 1 OA Problems (40%+ frequency):

  1. Number of Islands (43%)
  2. LRU Cache (41%)
  3. Merge Two Sorted Lists (39%)
  4. Maximum Subarray (38%)
  5. Best Time to Buy and Sell Stock (37%)
  6. Product of Array Except Self (35%)
  7. Reverse Linked List (34%)
  8. Two Sum (33%)
  9. Longest Palindrome (32%)
  10. Linked List Cycle (31%)
  11. Palindrome Linked List (30%)
  12. Intersection of Two Linked Lists (29%)
  13. Invert Binary Tree (28%)
  14. Binary Tree Inorder Traversal (27%)
  15. Set Matrix Zeroes (26%)

Phone Screen Favorites:

Longest Substring Without Repeating Characters, Longest Palindromic Substring, 3Sum, Group Anagrams, Merge Intervals, Valid Parentheses,
Valid Anagram, Word Search, Top K Frequent Elements, etc.

Onsite Differentiators:

Merge K Sorted Lists, Trapping Rain Water, Sliding Window Maximum, Serialize/Deserialize Tree, Course Schedule, Trie, Kth Largest Element,
Longest Increasing Subsequence, etc.
Responses (0)

Write a response

CommentHide Comments

No Comments yet.

"},"4":{"id":4,"name":"ZEBRONICS Blanc mouse ad","otherData":"{}","contentFormat":2,"content":"
Sponsored -53%
Zebronics #1 Best Seller

ZEBRONICS Blanc Slim Wireless Mouse — Rechargeable, BT + 2.4GHz (Black)

Up to 1600 DPI · Silent clicks · 63g · Multicolor LED

★★★★★ 4.0 (9,512) 5K+ bought last month
₹376 M.R.P. ₹799Save ₹423
Buy Now
"},"2":{"id":2,"name":"Crousal Ads","otherData":"{}","contentFormat":2,"content":"
Sponsored -34%
iQOO Amazon's Choice

iQOO Z10 Lite 5G — Cyber Green, 4GB RAM, 128GB Storage

Dimensity 6300 · 50MP Sony AI Camera · 6000 mAh · IP64

★★★★★ 4.0 (2,052) 500+ bought last month
₹18,997 M.R.P. ₹28,999Save ₹10,002
Buy Now
"},"1":{"id":1,"name":"Banner Ads","otherData":"{}","contentFormat":2,"content":"\n
\n \n \n \"Amazon\n \n
"}}},"blogDetails":{"isWriter":false,"likes":0,"isLikedByUser":false,"tagIds":[133,134,141,177,363],"tags":[{"id":133,"name":"Coding Problems","maskingName":"coding-problems","isFeatured":true},{"id":134,"name":"Interview","maskingName":"interview","isFeatured":true},{"id":141,"name":"Amazon","maskingName":"amazon","isFeatured":false},{"id":177,"name":"DSA","maskingName":"dsa","isFeatured":true},{"id":363,"name":"Interview Experience","maskingName":"interview-experience","isFeatured":true}],"comments":[],"bookmark":{"isBookmarked":false,"count":0},"author":{"userId":"MjlfNF84LVs5XTJuLXRDX0FOZ2VfX0l0","name":"Harshit Kumar"},"viewCount":44,"showBannerImage":false,"seoTags":null,"content":"

Based on real posts from Reddit users who underwent Amazon interviews and common problem lists on there, this guide presents authentic problems, structured explanations and sample walkthroughs to help you connect the dots for preparation.

\n

1. Online Assessment: Attractive Number (Reddit OA Report)

\n

Problem:
\nGiven a number num as a string and integer k, define num as attractive if every digit is equal to the digit k positions ahead (num[i] == num[i+k]). Return the smallest attractive number ≥ num.

\n

Topic Hint:
\nConstructive string manipulation + iteration.

\n

Explanation:
\nBuild a candidate by repeating the first k digits:
\ne.g., num = \"25352\", k = 2 → candidate \"25252\".
\nIf it’s less than num, increment the first k-digit chunk and repeat (→ \"26262\").

\n

Example:
\nInput: num = \"25352\", k = 2
\nBase chunk: \"25\" → candidate = \"25252\" (less than num)
\nIncrement chunk: \"26\" → \"26262\" (≥ num)
\nOutput: \"26262\"

\n

Source: Reddit

\n

2. Range-Minimax Expense Partition (Reddit)

\n

Problem:
\nGiven an array expense[] and integer p, partition the array into p contiguous segments. The cost of each segment is the sum of its endpoints. Compute the minimum and maximum total segment cost.

\n

Topic Hint:
\nPrefix sums + sorting.

\n

Explanation:
\nCompute base cost: expense[0] + expense[n-1].
\nBuild all possible “cut costs” by summing adjacent pairs.
\nSort cut-cost candidates.

\n\n

Example:
\nInput: expense = [1,2,3,4], p = 2
\nBase = 1 + 4 = 5
\nCut costs = [3,5,7]
\nMinimum = 5 + 3 = 8,
\nMaximum = 5 + 7 = 12
\nOutput: [8,12]

\n

Source: Reddit

\n

3. Topic Patterns from Reddit Whisper

\n

Reported Themes:
\nArrays, BFS, Topological Sorting, Union-Find, Trees appear frequently in Amazon interviews.

\n
I recently interviewed with Amazon and the questions covered topics like Arrays,\n  BFS, Topological Sorting, Union Find and Trees.\n
\n

Actionable Patterns:

\n\n

Example Amazon-Style Problem:
\nCourse Schedule (Topological Sort):
\nGiven courses and dependencies, decide if you can complete all.
\n→ Build graph → in-degree → Kahn’s algorithm → check for cycle.

\n

4. Top Amazon Coding Problems (Reddit Analysis)

\n

A data-backed Reddit post analyzed ~300+ Amazon interviews and ranked the most frequently asked DSA problems.

\n

Key Tier 1 OA Problems (40%+ frequency):

\n
    \n
  1. Number of Islands (43%)
  2. \n
  3. LRU Cache (41%)
  4. \n
  5. Merge Two Sorted Lists (39%)
  6. \n
  7. Maximum Subarray (38%)
  8. \n
  9. Best Time to Buy and Sell Stock (37%)
  10. \n
  11. Product of Array Except Self (35%)
  12. \n
  13. Reverse Linked List (34%)
  14. \n
  15. Two Sum (33%)
  16. \n
  17. Longest Palindrome (32%)
  18. \n
  19. Linked List Cycle (31%)
  20. \n
  21. Palindrome Linked List (30%)
  22. \n
  23. Intersection of Two Linked Lists (29%)
  24. \n
  25. Invert Binary Tree (28%)
  26. \n
  27. Binary Tree Inorder Traversal (27%)
  28. \n
  29. Set Matrix Zeroes (26%)
  30. \n
\n

Phone Screen Favorites:

\n
Longest Substring Without Repeating Characters, Longest Palindromic Substring, 3Sum, Group Anagrams, Merge Intervals, Valid Parentheses,\nValid Anagram, Word Search, Top K Frequent Elements, etc.\n
\n

Onsite Differentiators:

\n
Merge K Sorted Lists, Trapping Rain Water, Sliding Window Maximum, Serialize/Deserialize Tree, Course Schedule, Trie, Kth Largest Element,\nLongest Increasing Subsequence, etc.\n
","categoryId":134,"subCategoryId":141,"contentFormat":5,"blogId":3,"userId":"MjlfNF84LVs5XTJuLXRDX0FOZ2VfX0l0","title":"Amazon Interview Drilldown: Reddit Questions","url":"amazon-interview-drilldown-reddit-questions","bannerImage":"","seoDescription":"","generatedOn":"2025-09-07T16:57:04","updatedOn":"2026-08-30T06:42:22"},"popularContents":[{"id":172,"title":"Google L4 Software Engineer III interview experience | Selected","url":"google-l4-software-engineer-iii-interview-experience-selected","description":null,"seoDescription":"Google L4 Software Engineer III interview experience with API design, Googlyness, route matching, graph coding rounds, follow-up questions and tips.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502759Z","viewCount":0},{"id":163,"title":"Top 50 SQL Interview Questions and Answers (Beginner to Intermediate)","url":"top-sql-interview-questions-and-answers-beginner-to-intermediate","description":null,"seoDescription":"Top 50 SQL Interview Questions and Answers (Beginner to Intermediate). Top SQL Interview Questions for fresher. Frequently asked SQL interview questions with answers","contentType":2,"generatedOn":"2026-10-14T22:22:12.2497302Z","viewCount":0},{"id":118,"title":"JioHotstar Staff Software Engineer Interview Experience (Bangalore)","url":"jiohotstar-staff-software-engineer-interview-experience-bangalore","description":null,"seoDescription":"JioHotstar Staff Software Engineer interview experience covering Uber system design, API rate limiter LLD, leadership rounds, bar raiser and HR insights.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502696Z","viewCount":0},{"id":173,"title":"Uber SDE-2 Interview Experience : LLD, HLD, DSA & Hiring Manager Round","url":"uber-sde-2-interview-experience-lld-hld-dsa-hiring-manager-round","description":null,"seoDescription":"Read a real Uber SDE-2 interview experience covering DSA, low-level design, high-level system design, behavioral rounds, hiring freeze and key takeaways.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502796Z","viewCount":0},{"id":135,"title":"Spinny SDE-1 Interview Experience (Selected)","url":"spinny-sde-1-interview-experience-selected","description":null,"seoDescription":"Spinny SDE-1 Interview Experience (Selected) | 4 Rounds Breakdown: Coding, LLD, Java, SQL + Real Interview Questions","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502712Z","viewCount":0},{"id":83,"title":"Uber SDE 2 Interview Experience (5 Rounds, Selected) - Complete DSA Questions with solution, System Design & Managerial Round","url":"uber-sde-2-interview-experience","description":null,"seoDescription":"Uber SDE 2 interview experience with 5 rounds, real DSA questions, system design, coding round, and preparation tips to crack Uber interviews.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502669Z","viewCount":0},{"id":213,"title":"Amazon SDE II Interview Experience (Bangalore, Selected) ~ Aug 2026","url":"amazon-sde-ii-interview-experience-bangalore-selected-aug-2026","description":null,"seoDescription":"Amazon SDE II interview experience from Bangalore covering 4 rounds, DSA, LLD, system design, Leadership Principles, coding questions and selection.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502806Z","viewCount":0},{"id":168,"title":"Amazon SDE-2 Interview Experience (3 Years Experience)","url":"amazon-sde-2-interview-experience-3-years-experience","description":null,"seoDescription":" Read a real Amazon SDE-2 interview experience covering the online assessment, coding rounds, object-oriented design, leadership principles and system design.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502727Z","viewCount":0},{"id":171,"title":"Meesho SDE-1 Backend Interview Experience (Remote | 3 Round) - Rejected","url":"meesho-sde-1-backend-interview-experience-remote-3-round-rejected","description":null,"seoDescription":"Read a real Meesho SDE-1 Backend interview experience covering the online assessment, DSA interview, machine coding round, LLD questions and preparation tips.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502743Z","viewCount":0},{"id":165,"title":"Top 50+ SQL Interview Questions and Answers for Intermediate to Advanced","url":"top-sql-interview-questions-and-answers-for-intermediate-to-advanced","description":null,"seoDescription":"Top SQL Interview Questions and Answers for Intermediate to Advanced. Top SQL Interview Questions for experience. Frequently asked SQL interview questions with answers","contentType":2,"generatedOn":"2026-10-14T22:22:12.2497383Z","viewCount":0}],"latestContents":[{"id":219,"title":"6 Tools That Made My Life Easier as a Software Engineer","url":"6-tools-that-made-my-life-easier-as-a-software-engineer","description":null,"seoDescription":"The 6 developer tools I use daily as a software engineer: Git, VS Code, Docker, Postman, Chrome DevTools, and AI assistants, with real tips, mistakes, and trade","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502542Z","viewCount":0},{"id":218,"title":"When Should a Business Use Multiple AI Agents Instead of One?","url":"when-should-a-business-use-multiple-ai-agents-instead-of-one","description":null,"seoDescription":"Single agent or multi-agent AI? Learn the 4 signals that justify splitting agents by knowledge, permissions, and risk, plus routing and handoff tips.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502582Z","viewCount":0},{"id":216,"title":"AI in Clinical Trials Market Estimated to Experience a Hike in Growth by 2035","url":"ai-in-clinical-trials-market-estimated-to-experience-a-hike-in-growth-by-2035","description":null,"seoDescription":"The exclusive information about market dynamics serves as a valuable guide to predict economic scenarios and initiatives taken to enhance future growth. Our mar","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502598Z","viewCount":0},{"id":217,"title":"AI in Clinical Trials Market Estimated to Experience a Hike in Growth by 2035","url":"ai-in-clinical-trials-market-estimated-to-experience-a-hike-in-growth-by-2035","description":null,"seoDescription":"The exclusive information about market dynamics serves as a valuable guide to predict economic scenarios and initiatives taken to enhance future growth. Our mar","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502611Z","viewCount":0},{"id":215,"title":"What Happens When an AI Agent Doesn't Know the Answer?","url":"what-happens-when-an-ai-agent-doesnt-know-the-answer","description":null,"seoDescription":"Most AI agents fail quietly. They guess instead of saying \"I don't know.\" Here's how to design better fallback and human-handoff behavior.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502625Z","viewCount":0},{"id":214,"title":"Greedy Algorithms Explained: How They Work, When They Fail and How to Use Them","url":"greedy-algorithms-explained-how-they-work-when-they-fail-and-how-to-use-them","description":null,"seoDescription":"Learn greedy algorithms step by step with C# code Dijkstra, Huffman coding, knapsack and MSTs plus when greedy fails and how to prove it's correct","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502675Z","viewCount":0},{"id":213,"title":"Amazon SDE II Interview Experience (Bangalore, Selected) ~ Aug 2026","url":"amazon-sde-ii-interview-experience-bangalore-selected-aug-2026","description":null,"seoDescription":"Amazon SDE II interview experience from Bangalore covering 4 rounds, DSA, LLD, system design, Leadership Principles, coding questions and selection.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502688Z","viewCount":0},{"id":212,"title":"How to Get 10x Better AI Answers Without Writing Better Prompts : 10 Proven Techniques","url":"how-to-get-10x-better-ai-answers-without-writing-better-prompts-10-proven-techniques","description":null,"seoDescription":"Get better AI answers without complex prompts. Learn 10 practical techniques using context, examples, tools, feedback, and verification.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502703Z","viewCount":0},{"id":211,"title":"I Interviewed for a Microsoft SDE I Role. Here's Everything That Happened.","url":"i-interviewed-for-a-microsoft-sde-i-role-heres-everything-that-happened","description":null,"seoDescription":"My real Microsoft SDE I interview experience, all 4 rounds, the exact DSA problems with fully tested solutions, the WhatsApp system design round","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502718Z","viewCount":0},{"id":140,"title":"PolicyBazaar Software Development Engineer (SDE) Interview Experience | DSA, Core CS & System Design","url":"policybazaar-software-development-engineer-sde-interview-experience-dsa-core-cs-system-design","description":null,"seoDescription":"Detailed PolicyBazaar SDE interview experience covering 3 rounds: DSA coding, core CS assessment and system design with key learnings and insights.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2502735Z","viewCount":0}],"relatedContents":[{"id":5,"title":"Amazon Interview Experience – Online Assessment to System Design","url":"amazon-interview-experience-online-assessment-to-system-design","description":null,"seoDescription":"","contentType":5,"generatedOn":"2026-10-14T22:22:12.2546342Z","viewCount":0},{"id":45,"title":"OpenAI Interview Process (2026 Guide): Rounds, Questions, Preparation Tips","url":"openai-interview-process-2026-guide-rounds-questions-preparation-tips","description":null,"seoDescription":"Learn the OpenAI interview process in 2026: stages, interview rounds, questions, and preparation tips to help engineers and AI professionals get hired.","contentType":5,"generatedOn":"2026-10-14T22:22:12.2546359Z","viewCount":0},{"id":4,"title":"Mastering the Sliding Window: Top 50 Problems Tiered & Explained","url":"mastering-the-sliding-window-top-50-problems-tiered-explained","description":null,"seoDescription":"","contentType":5,"generatedOn":"2026-10-14T22:22:12.2546374Z","viewCount":0},{"id":2,"title":"Top 50 Most Frequently Asked String Coding Problems for Interviews","url":"top-50-most-frequently-asked-string-coding-problems-for-interviews","description":null,"seoDescription":"","contentType":5,"generatedOn":"2026-10-14T22:22:12.2546386Z","viewCount":0},{"id":1,"title":"Essential DSA Patterns Cheat Sheet for Interview Preparation","url":"essential-dsa-patterns-cheat-sheet-for-interview-preparation","description":null,"seoDescription":"","contentType":5,"generatedOn":"2026-10-14T22:22:12.2546399Z","viewCount":0},{"id":168,"title":"My Meta (Facebook) Round 1 Interview Experience , SDE III ~ Aug 2025","url":"my-meta-round-1-interview-experience-sde-iii-aug-2025","description":null,"seoDescription":"Read my Meta (Facebook) SDE III Round 1 interview experience (Aug 2025) with detailed DSA questions, problem-solving approach.","contentType":2,"generatedOn":"2026-10-14T22:22:12.2546413Z","viewCount":0},{"id":158,"title":"A Structured Approach to Cracking Technical Interviews","url":"a-structured-approach-to-cracking-technical-interviews","description":null,"seoDescription":"A Structured Approach to Cracking Technical Interviews. how to prepare for Technical Interviews? Technical Interviews preparation guideline","contentType":2,"generatedOn":"2026-10-14T22:22:12.2546429Z","viewCount":0},{"id":151,"title":"HR Interview Questions and Answers For Freshers","url":"hr-interview-questions-and-answers-for-freshers","description":null,"seoDescription":"HR Interview Questions and Answers For Freshers","contentType":2,"generatedOn":"2026-10-14T22:22:12.2546475Z","viewCount":0},{"id":152,"title":"How to Approach HR Interview Questions","url":"how-to-approach-hr-interview-questions","description":null,"seoDescription":"How to Approach HR Interview Questions , What to Keep in Mind While Answering HR Interview Questions, HR Interview Questions and Answers","contentType":2,"generatedOn":"2026-10-14T22:22:12.2546488Z","viewCount":0}]}}},"source":{"isMobile":false}}; window.__CLIENT_RENDER__ = false;