practice a little every day, paws crossed ♡
Software Engineer 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 211–240 of 2810 results
- AmazonEasySoftware EngineerFind the Single Value in a Sorted Array of Pairs
This problem tests the ability to optimize a linear search into a logarithmic one by leveraging the properties of sorted pairs using binary search.
Coding & AlgorithmsTechnical ScreenBinary SearchArraysDivide and Conquer - AmazonMediumSoftware EngineerFind top-k lottery winners by spending
This problem tests the ability to manage top-k selection from a stream or static collection using heap data structures while enforcing deterministic tie-breaking rules.
Coding & AlgorithmsTechnical ScreenHeapsSortingAlgorithms - AmazonMediumSoftware EngineerFind when failures started in log stream
This problem tests the ability to identify the first occurrence of a specific condition in a sorted boolean stream using a modified binary search approach.
Coding & AlgorithmsTechnical ScreenBinary SearchAlgorithmsOptimization - AmazonMediumSoftware EngineerFrequency Stack with Recency Tie-Breaking
Design a frequency stack data structure that supports pushing elements and popping the most frequent element, breaking ties by choosing the most recently pushed element, with both operations running in O(1) time.
Coding & AlgorithmsTechnical Screenstackhash-tabledesign - AmazonMediumSoftware EngineerHandle Workplace Conflict and Criticism
This question tests your ability to navigate professional disagreements and integrate constructive feedback while maintaining focus on project outcomes.
Behavioral & LeadershipTechnical ScreenBehavioralCommunicationLeadership - AmazonMediumSoftware EngineerHandle deadlines and misses
Handle deadlines and misses 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 & LeadershipTechnical Screen - AmazonMediumSoftware EngineerImplement Cache and Count Components
This question evaluates a candidate's ability to design and implement efficient data structures for constant-time operations and to reason about graph connectivity and component counting, falling under the Coding & Algorithms domain and requiring practical implementation with algorithmic complexity reasoning.
Coding & AlgorithmsTechnical Screen - AmazonHardSoftware EngineerImplement Datacenter Router Commands
This problem tests your ability to manage stateful data structures, perform geometric calculations (Haversine formula), and implement multi-level sorting logic to simulate router command processing.
Coding & AlgorithmsTechnical ScreenData StructuresGeometryAlgorithms - AmazonMediumSoftware EngineerImplement Event Filtering and Queue Routing
Implement an in-memory event routing engine that matches nested JSON events against subscriber filter policies and routes them in subscription order.
Coding & AlgorithmsTechnical ScreenData StructuresJSON ParsingDesign - AmazonEasySoftware EngineerImplement Interview Coding Problems
This question evaluates implementation and algorithmic skills across core data structures and array/interval algorithms, specifically hashing (hash map design including collision handling and resizing), interval merging and intersection logic, and array optimization problems such as maximum container area and trapped rainwater.
Coding & AlgorithmsTechnical Screen - AmazonEasySoftware EngineerImplement Regular Expression Matching
This problem tests your ability to handle recursive string matching problems using dynamic programming, specifically focusing on handling wildcard and repetition operators.
Coding & AlgorithmsTechnical ScreenDynamic ProgrammingStringsRecursion - AmazonHardSoftware EngineerImplement a Half-Open Interval Range Module
This problem tests proficiency with balanced binary search trees or interval management techniques to efficiently track and manipulate sets of half-open intervals.
Coding & AlgorithmsTechnical ScreenIntervalsBinary SearchData Structures - AmazonMediumSoftware EngineerImplement a formatted shell script output
This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Implement a formatted shell script output states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerImplement a robust shell CLI
This question evaluates proficiency in POSIX-compliant shell scripting, including positional argument parsing and validation, ISO 8601 UTC timestamp generation, file metadata extraction for license determination, construction of user@hostname, error handling and exit-code semantics, and handling of non-ASCII file paths.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerImplement ad matching and delivery routing
Implement ad matching and delivery routing evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerImplement and Analyze an LRU Query Cache
Implement a fixed-capacity least-recently-used cache for integer query results with expected constant-time get and put operations. Refresh recency on hits and updates, evict the correct key on overflow, and handle misses and duplicate puts precisely.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerImplement robust debounce and throttle in JavaScript
This question evaluates a developer's ability to implement debounce and throttle utilities in JavaScript, testing competencies in asynchronous timing, timer management, cancellation/flush semantics, error propagation, and handling edge cases such as rapid bursts, timer drift, and re-entrancy.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerImprove an Inefficient Team Process
This question assesses the candidate's ability to identify systemic bottlenecks, influence stakeholders through data, and implement sustainable process improvements while maintaining system stability.
Behavioral & LeadershipTechnical ScreenBehavioralLeadershipProcess Improvement - AmazonMediumSoftware EngineerJustify choosing JavaScript for interviews
This question evaluates a candidate's ability to articulate programming language trade-offs, understand language-specific runtime behaviors (types, hoisting, closures), and justify tool choice for front-end coding tasks within the Coding & Algorithms domain.
Coding & AlgorithmsTechnical Screen - AmazonHardSoftware EngineerLowest Common Ancestor in a Binary Search Tree
Tests finding the lowest common ancestor of two values in a Binary Search Tree represented as a level-order serialized list, accounting for self-ancestorship and missing-node edge cases.
Coding & AlgorithmsTechnical ScreenBinary Search TreeTreeBreadth-First Search - AmazonEasySoftware EngineerMake Progress When Requirements Are Ambiguous
This question assesses the candidate's ability to navigate project uncertainty by balancing proactive momentum with risk management and stakeholder alignment.
Behavioral & LeadershipTechnical ScreenLeadershipAmbiguityCommunication - AmazonMediumSoftware EngineerManipulate time-series with Pandas groupby
This question evaluates proficiency in time-series data manipulation, including timezone-aware datetime parsing and DST handling, groupby and rolling-window aggregations, resampling to fill calendar gaps, and user-level retention and DAU calculations using idiomatic, vectorized Pandas or SQL operations.
Data Manipulation (SQL/Python)Technical Screen - AmazonHardSoftware EngineerMaximize Money in K Consecutive Bags
This problem tests your ability to efficiently manage interval operations and sliding window logic on a sparse coordinate system.
Coding & AlgorithmsTechnical ScreenSliding WindowSortingTwo Pointers - AmazonMediumSoftware EngineerMaximize Value Under a Budget
This problem tests your ability to solve a variation of the 0/1 Knapsack problem where items must be selected to maximize total value without exceeding a specific budget constraint.
Coding & AlgorithmsTechnical ScreenDynamic ProgrammingOptimizationAlgorithms - AmazonMediumSoftware EngineerMerge K Sorted Arrays Without Duplicates
This problem tests your ability to efficiently merge multiple sorted sequences into a single sorted stream while managing duplicate values using a priority queue.
Coding & AlgorithmsTechnical ScreenHeapsSortingArrays - AmazonMediumSoftware EngineerMerge Multiple Sorted Arrays
This problem tests your ability to efficiently merge multiple sorted arrays into a single sorted list using a priority queue (min-heap) to optimize performance.
Coding & AlgorithmsTechnical ScreenArraysHeapSorting - AmazonHardSoftware EngineerMerge two sorted arrays in-place
This problem tests your ability to manipulate arrays in-place while managing constraints to avoid unnecessary data movement or auxiliary space usage.
Coding & AlgorithmsTechnical ScreenArraysTwo PointersIn-place - AmazonMediumSoftware EngineerMinimize Points Used Across Multiple Reward Programs
Minimize the number of indivisible reward points needed to meet or exceed a microdollar target across programs with different values and finite balances, returning failure when coverage is impossible.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerMinimum Bills and Coins to Make Change
This problem tests your ability to determine the optimal combination of coins and bills to achieve a specific target amount, while managing limited inventory and precision issues.
Coding & AlgorithmsTechnical ScreenGreedyDynamic ProgrammingArithmetic - AmazonMediumSoftware EngineerMinimum Drone Delivery Time on a Ring of Hubs
This problem tests your ability to calculate optimal traversal distances on a circular path, requiring the application of modular arithmetic and greedy logic to minimize movement between sequential points.
Coding & AlgorithmsTechnical ScreenAlgorithmsGreedyModular Arithmetic