practice a little every day, paws crossed ♡
Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 301–330 of 3640 results
- AmazonMediumSoftware EngineerMedian of a Data Stream
Design a data structure that continuously receives a stream of integers and efficiently supports retrieving the current running median, handling potential integer overflow during the median calculation.
Coding & AlgorithmsOnsiteHeapData StreamDesign - AmazonMediumSoftware EngineerMerge overlapping and adjacent ranges
This question evaluates a candidate's understanding of interval merging and range manipulation, including handling overlapping and adjacent ranges, edge cases like single-point gaps and extreme values, and the ability to analyze time and space complexity.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerMessage Rate Limiter
Design an in-memory message rate limiter that allows or denies messages based on whether a given time window has elapsed since their last accepted occurrence.
Coding & AlgorithmsOnsiteHash MapDesignRate Limiter - AmazonHardSoftware EngineerMinimize Replacements So Equal Product Values Are Contiguous
This problem tests your ability to optimize data transformations by identifying contiguous blocks of identical values, modeled as a shortest-path or dynamic programming problem on a compressed representation of the array.
Coding & AlgorithmsOnsiteGreedyDynamic ProgrammingData Structures - AmazonMediumSoftware EngineerMinimum Moves for a Squirrel to Carry Every Nut to a Tree One at a Time
A squirrel on an obstacle-free grid must carry every nut to a tree, holding at most one nut at a time and moving one cell per step. The task asks for the minimum total number of moves over all delivery orders, testing reasoning about grid distances and how the order of deliveries affects the total.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerModel an Extensible Employee Cost Calculator
Model an extensible employee cost calculator combining salary, tax, benefits, and a signed location adjustment. Discuss precise money handling, explicit missing policies, canonical identifiers, versioned configuration, reproducible breakdowns, and boundary-focused tests.
Software Engineering FundamentalsOnsite - AmazonMediumData ScientistNavigate Crises and Sustain Team Morale Under Pressure
Navigate Crises and Sustain Team Morale Under Pressure evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipOnsite - AmazonMediumSoftware EngineerNegotiate an Impossible Project Timeline
This question assesses your ability to manage stakeholder expectations, use data to drive project scoping, and maintain professional integrity when facing unrealistic deadlines.
Behavioral & LeadershipOnsiteLeadershipProject ManagementStakeholder Management - AmazonMediumData ScientistOptimize Email Strategy for New Prime Video Series Launch
Evaluates email targeting and ranking strategy for a new Prime Video series launch. Strong answers cover data needs, cold start, ranking models, offline metrics, A/B testing, guardrails, and model selection.
Machine LearningOnsite - AmazonMediumData ScientistOptimize XGBoost for Predicting Marketing Outcomes
Optimize XGBoost for Predicting Marketing Outcomes evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - AmazonMediumSoftware EngineerOrder Dependent Tasks and Identify Work to Rerun
Return any valid dependency order, detect cycles, and identify transitive reruns with a complete topological and reachability solution and order-independent validation.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerOvercoming Major Obstacles to Reach an Important Goal
A behavioral interview question asking the candidate to describe a time they overcame significant obstacles to reach an important goal. It tests ownership, persistence and judgment: how the obstacles were identified, which actions removed them, what result was achieved and what was learned.
Behavioral & LeadershipOnsite - AmazonMediumFrontend EngineerOwn a Mistake with Real Consequences
This question assesses the candidate's integrity, ownership, and ability to implement systemic improvements following a significant professional error.
Behavioral & LeadershipOnsiteBehavioralOwnershipLeadership - AmazonMediumSoftware EngineerOwnership Beyond Your Role: Stepping Outside Your Area and Driving an Improvement
An Amazon behavioral question on ownership: describe taking on significant work outside your area of responsibility, and spotting a company improvement that you then drove to completion. It tests initiative, influence without authority, sustainable follow-through and measurable impact.
Behavioral & LeadershipOnsite - AmazonMediumFrontend EngineerPredict JavaScript let and var Behavior
Tests deep understanding of JavaScript variable declarations (var vs let), focusing on hoisting, the Temporal Dead Zone (TDZ), block vs function scoping, and per-iteration lexical bindings in asynchronous loops.
Software Engineering FundamentalsOnsitejavascriptclosureshoisting - AmazonHardSoftware EngineerPrepare Leadership Principle Stories
This question assesses the ability to articulate past professional experiences using the STAR (Situation, Task, Action, Result) method, specifically focusing on demonstrating accountability, bias for action, and navigating high-stakes ambiguity.
Behavioral & LeadershipOnsiteBehavioralSTAR-MethodLeadership - AmazonMediumSoftware EngineerReplace Delimited Tokens in a String
This problem tests string manipulation, hash map lookups, and edge-case handling when parsing nested or malformed delimiters within a template string.
Coding & AlgorithmsOnsiteStringsHash MapParsing - AmazonMediumData ScientistResolve Conflicts Between Data Findings and Team Opinions
Resolve Conflicts Between Data Findings and Team Opinions evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipOnsite - AmazonMediumSoftware EngineerResolve a Conflict Between Metrics and Customer Feedback
This question tests your ability to troubleshoot conflicting signals in A/B testing and product analytics, requiring a structured approach to reconciling quantitative data with qualitative sentiment.
Analytics & ExperimentationOnsiteAnalyticsA/B TestingDecision Making - AmazonMediumSoftware EngineerResolve a Significant Disagreement with a Manager or Colleague
Explain a significant workplace disagreement through its underlying assumptions, respectful resolution, decision ownership, and follow-through.
Behavioral & LeadershipOnsite - AmazonMediumSoftware EngineerResolving a Meaningful Conflict
This behavioral question evaluates your ability to navigate professional disagreements using data, uphold high technical standards, demonstrate Amazon's 'Have Backbone; Disagree and Commit' principle, and preserve long-term team trust.
Behavioral & LeadershipOnsiteBehavioralAmazon LPConflict Resolution - AmazonMediumSoftware EngineerReview an existing architecture for risks
This question tests the ability to analyze a distributed system architecture for single points of failure, scalability bottlenecks, and operational risks, while balancing engineering trade-offs.
System DesignOnsiteScalabilityReliabilityArchitecture - AmazonMediumSoftware EngineerRoot-Cause Analysis Under Uncertainty
This question tests your structured approach to troubleshooting complex, ambiguous production issues and your ability to balance urgent mitigation with long-term systemic stability.
Behavioral & LeadershipOnsiteBehavioralRoot-Cause AnalysisIncident Management - AmazonHardData ScientistRoot-cause an incident and drive consensus
This question evaluates root-cause analysis, incident management, cross-functional stakeholder coordination, and quantitative diagnostic reasoning in the context of a sudden drop in voice checkout conversion, testing product analytics, ML-driven user flows, and operational reliability within the Behavioral & Leadership category.
Behavioral & LeadershipOnsite - AmazonMediumSoftware EngineerShow Ownership and Help a Struggling Peer
This question assesses a candidate's ability to demonstrate the 'Ownership' and 'Insist on Highest Standards' leadership principles by evaluating their initiative in identifying cross-functional gaps and their mentorship style when supporting struggling colleagues.
Behavioral & LeadershipOnsiteLeadershipSoft SkillsMentorship - AmazonMediumSoftware EngineerSimplify an Arithmetic Expression Tree with Constant Folding and Identities
Given the abstract syntax tree of an arithmetic expression as a binary tree, write a traversal that returns an equivalent simplified tree using constant folding and algebraic identities. It tests recursive tree processing, cascading rewrites, correct handling of non-commutative operators and recursion-depth limits.
Software Engineering FundamentalsOnsite - AmazonMediumSoftware EngineerSolve LeetCode string and list problems
This set of problems evaluates proficiency in string manipulation, priority-queue/heap usage and greedy strategies, and linked-list operations including pointer management and cloning, reflecting core data structure and algorithm competencies.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSolve Nearby Inventory and Word Segmentation Tasks
Implement two independent tasks: identify stocked centers close enough to a graph destination and return any exact dictionary segmentation of a string. Handle disconnected routes, duplicate edges, missing inventory, repeated suffix work, and large inputs while explaining complexity.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSolve Rotting Oranges and Bus Walk Reachability
This question evaluates graph and grid traversal skills, state modeling over time, and constrained reachability combining free transit edges with Manhattan-distance walking.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSolve Shipping and Bundle-Cost Problems
This problem tests your ability to determine the minimum capacity required to complete tasks within a deadline and optimize the cost of purchasing items grouped in bundles.
Coding & AlgorithmsOnsiteBinary SearchDynamic ProgrammingOptimization