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 181–210 of 2336 results
- 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 - AmazonMediumSoftware EngineerSolve Union-Find, Graph, and Stream Problems
This question evaluates understanding of disjoint-set (union-find) operations, directed graph processing including cycle detection and ordering, contiguous subarray sum reasoning, and online streaming/anagram detection techniques, emphasizing data structures and algorithmic problem-solving.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSolve a Problem Outside Your Assigned Responsibilities
Describe initiative beyond assigned work with clear impact, owner coordination, bounded scope, delivery responsibility, and a sustainable handoff.
Behavioral & LeadershipOnsite - AmazonMediumSoftware EngineerSolve sliding-window and heap problems
This question evaluates algorithm design and data structure proficiency, focusing on sliding-window techniques for fixed-length subarray aggregates and heap- or hashmap-based approaches for maintaining medians in a real-time integer stream, along with considerations for concurrent execution.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSolve three coding tasks: binary search, tree path, subarray
This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Solve three coding tasks: binary search, tree path, subarray states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSolve two set and graph problems
This question evaluates proficiency in data-structure manipulation (set operations, mapping and deduplication), directed-graph modeling and traversal for reachability, and algorithmic time/space complexity analysis.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerSpreadsheet Formulas with Dependency Updates
Design a simplified in-memory spreadsheet supporting direct cell assignment, formula assignment (summation with potential duplicate cell references), and retrieval with dynamic dependency propagation.
Coding & AlgorithmsOnsitegraphdesignhash-table - AmazonMediumSoftware EngineerStack Whose Pop Removes the Most Frequent Value, Ties Broken by Recency
Phone screen coding problem: process push and pop operations on a stack in which every pop removes the value that currently occurs most often, breaking ties by the tied value closest to the top. It tests designing a data structure that tracks frequency and recency together efficiently.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerTake Initiative on a Customer Pain Point
Explain customer-focused initiative through direct evidence, a validated problem, a focused change, and confirmation that the customer experience improved.
Behavioral & LeadershipOnsite - AmazonMediumSoftware EngineerTurn an Unlikely Project Around and Recover When AI Coding Falls Short
This question assesses a candidate's ability to demonstrate technical leadership through project turnarounds and their maturity in managing the risks associated with AI-assisted development tools.
Behavioral & LeadershipOnsiteBehavioralLeadershipRisk Management - AmazonMediumSoftware EngineerUse Generative AI to Improve Work Efficiently
Assesses how engineers integrate Generative AI tools into their workflows safely and effectively, balancing automation with human verification, data privacy, and quantifiable impact.
Behavioral & LeadershipOnsiteGenerative AIDeveloper ProductivityAmazon Leadership Principles - AmazonMediumSoftware EngineerValidate 9x9 grid in one pass
This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Validate 9x9 grid in one pass states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding & AlgorithmsOnsite - AmazonMediumSoftware EngineerWorking With a Difficult Teammate or Making a Difficult Decision
A behavioral interview question asking for a real experience of either working with a difficult teammate or making a difficult decision. It tests how a candidate handles conflict fairly, reasons through trade-offs under uncertainty, owns the outcome and reflects on what they would change.
Behavioral & LeadershipOnsite - AmperityHardSoftware EngineerDesign an Online SQL Query Service over Apache Iceberg Tables
Design an online service that runs user-submitted SQL statements against data stored in Apache Iceberg tables. Covers the query lifecycle and API, metadata-driven planning with snapshots and manifests, distributed execution, multi-tenant admission control, commits for writes, and table maintenance.
System DesignOnsite - AmperityMediumSoftware EngineerRender Overlapping Rectangles on an ASCII Canvas
Render bordered and filled rectangles onto a fixed ASCII canvas, clipping safely and honoring input-order overwrites. Handle negative coordinates, fully hidden shapes, one-cell dimensions, trailing spaces, overlap behavior, and a canvas of up to one million cells.
Coding & AlgorithmsOnsite - AmplitudeMediumSoftware EngineerImplement Employee Validation and Snake
This question evaluates recursion, graph traversal and cycle-detection concepts for hierarchical employee validation alongside state management, event-driven input handling and collision detection for a grid-based Snake game.
Coding & AlgorithmsOnsite - Anchorage DigitalMediumSoftware EngineerDesign a Digital Asset Custody Service
This question tests your ability to design a high-security, distributed system for managing digital asset custody, focusing on secure key storage, transaction authorization, and auditability.
System DesignOnsiteSecurityBlockchainDistributed Systems - AndurilMediumSoftware EngineerBuild a Dynamic Exact-Suffix Search Index
Design an in-memory index that supports dynamically inserting words and checking whether any previously inserted word ends with a given suffix in time proportional to the suffix length.
Coding & AlgorithmsOnsiteTrieStringData Structure Design - AndurilMediumSoftware EngineerEvaluate a Variadic Addition or Subtraction Expression
Implement a variadic prefix expression evaluator supporting addition and left-associative subtraction with support for nested expressions and error handling.
Coding & AlgorithmsOnsiteRecursionStackExpression Evaluation - AndurilMediumSoftware EngineerExplain Hash Map Collisions and Operation Complexity
Tests in-depth understanding of hash table internals, comparing collision resolution mechanisms, deletion strategies, dynamic resizing, and operation complexities under expected and adversarial conditions.
Software Engineering FundamentalsOnsiteData StructuresHash MapsAlgorithms - AnthropicMediumSoftware EngineerA Conflict About Values
This question tests your ability to navigate professional disagreements where core values (e.g., speed vs. safety, or business goals vs. technical debt) are at odds, requiring a diplomatic yet principled resolution.
Behavioral & LeadershipOnsiteBehavioralConflict ResolutionLeadership - AnthropicMediumSoftware EngineerA Disagreement That Changed Your Mind
This question evaluates intellectual humility, evidence-based reasoning, and your ability to update your technical beliefs when presented with compelling counterarguments or data.
Behavioral & LeadershipOnsiteBehavioralCollaborationDecision Making - AnthropicMediumSoftware EngineerAI Risk Values Round: Delaying a Risky Breakthrough, Worthless Equity, Persuasion
A culture round at a safety-focused AI lab: whether you would delay a risky capability breakthrough even if competitors would not, what you would do if your equity became worthless, a time you were persuaded, and how you repaired a damaged working relationship. It tests reasoning about AI risk, honesty and self-awareness.
Behavioral & LeadershipOnsite - AnthropicMediumSoftware EngineerAI Safety Culture Round: Risk Views, Personal Ethics, and Changing Your Mind
A senior software engineer culture interview at an AI company that probes your honest views on AI safety risks, how your personal moral principles hold up when acting on them has a cost, and whether you can genuinely change your mind. It tests candor over sycophancy, calibrated reasoning, and composure when the interviewer challenges your position.
Behavioral & LeadershipOnsite - AnthropicMediumSoftware EngineerAccount Balance with Expiring Grants
Design a data structure that tracks time-limited credit grants, prioritizes consuming grants that expire earliest, and efficiently manages expired funds.
Coding & AlgorithmsOnsiteHeapGreedyDesign