Amazon Interview Questions
Practice the exact questions companies are asking right now.

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Solve two string DP/hash problems
Solve the following two coding questions. 1) Unique Morse Code Transformations You are given an array of strings words (lowercase English letters). Us...
Design streaming error-log counting with moving average
Design a core component in a streaming system: Input: - Multiple upstream services continuously emit log events. - Each event includes at least: servi...
Answer Amazon-style behavioral questions
You are interviewing for a role at Amazon and are asked the following behavioral questions. Answer each using the STAR method (Situation, Task, Action...
Compute total revenue from greedy VM rentals
You manage n VM types. VM type i starts with inventory a[i] (number of available instances). There are m customers arriving one by one. For each custo...
Maximize protected population and bitwise AND
You are given two independent coding problems. Problem 1: Maximize protected population after moving units There are n cities in a line (indexed 1..n)...
Explain NLP/RL concepts used in LLM agents
You are interviewing for an applied ML role focused on LLM agents and retrieval-augmented generation (RAG). Answer the following conceptual questions ...
Find max equal-frequency block count for each prefix
Given a string S of length n (e.g., uppercase letters), for every prefix P = S[0..i] (for i = 0..n-1), compute the maximum integer k such that: - The ...
Answer two coding questions (SQL and DP)
Solve the following two coding tasks. Problem A (SQL) You are given a table: Employee(id INT, salary INT) Write a query that returns the second highes...
Describe past NLP work and collaboration
Scenario In an initial phone screen, the interviewer asks you to introduce yourself, then drills into your resume. Questions (answer using concrete ex...
Retrieve First Active and Last Inactive Dates per User
Given a table activity that tracks user activities, write a SQL query to retrieve the first active date and last inactive date for each user. Table Sc...
Design a cloud database write path and recovery
System Design (Engine-level): Write Path + Crash Recovery Design a core subsystem for a cloud-native relational database (Aurora-like) where compute i...
Design a replicated cloud storage service
Design the internals of a cloud storage service (object/blob storage). Focus on storage/infra concerns rather than end-user features. Cover the follow...
Merge two sorted arrays in-place
Given two arrays arr1 and arr2, both sorted in ascending order. - Modify arr1 in-place to contain all elements from arr1 and arr2 in ascending order. ...
Design an S3-like object storage service
Design a cloud object storage service similar to Amazon S3. The service should allow clients to upload, store, and download large files reliably and e...
Design a weighted random value generator
Weighted random value generator Design a generic component that stores values with integer weights and can return a random value with probability prop...
Explain overfitting, regularization, and LLM techniques
You’re in an ML interview. Answer the following conceptual questions clearly and concisely, using examples where helpful: 1) Model fit - What is overf...
Answer Amazon-style leadership deep dives
Behavioral / Leadership Prompt (Principal level) Prepare to answer deep-dive leadership questions with heavy follow-ups. Scenarios to cover - A failed...
Compute array products excluding self and top-k
Algorithms 1) Product of array except self (no division) Given an integer array nums of length n, return an array ans where: - ans[i] = product of all...
Implement PyTorch training loop
Implement a basic PyTorch training loop You are given a PyTorch neural network model, a DataLoader that yields (inputs, targets) batches, an optimizer...
Find when failures started in log stream
You are given an array of log entries sorted by timestamp ascending. Each log entry contains: - timestamp (monotonic increasing) - status ∈ {OK, FAIL}...