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 61–90 of 1026 results
- AmazonMediumSoftware EngineerDesign a Threshold-Based Database Partition Rebalancer
This problem tests your ability to design a distributed system component that maintains cluster balance by dynamically splitting and merging data shards based on size thresholds.
Software Engineering FundamentalsOnsiteDistributed SystemsSystem DesignConcurrency - AmazonMediumSoftware EngineerDesign a Train Fare Calculator with Dynamic Stations and a Weekend Fare Cap
An object-oriented design and coding exercise for a train line where each segment between adjacent stations costs one unit. It asks for a fare function between two stations, a route class that loads route data and supports adding stations at runtime, and a weekend rule that caps the total fare.
Software Engineering FundamentalsOnsite - AmazonMediumSoftware EngineerDesign a basic credit card system
This problem tests object-oriented modeling and state management by requiring the design of a class structure that handles credit limits, transaction authorization, and balance tracking.
Software Engineering FundamentalsTechnical ScreenObject-Oriented DesignDomain ModelingSystem Architecture - AmazonMediumSoftware EngineerDesign a pizza ordering system
This question evaluates object-oriented design and software architecture skills, focusing on class modeling, responsibilities, relationships, state management, pricing, payment flows, and extensibility.
Software Engineering FundamentalsTechnical Screen - AmazonMediumSoftware EngineerDesign an Extensible Cinema Ticket Pricing Engine
Design an extensible cinema pricing engine with validated money and multiplier types, composable policies, explicit calculation and rounding, compatibility checks, versioned configuration, itemized quotes, and boundary tests.
Software Engineering FundamentalsTechnical Screen - AmazonMediumSoftware EngineerDesign an In-Memory Pub-Sub Model
This question evaluates object-oriented design and API modeling skills, knowledge of messaging/pub-sub semantics, concurrency and thread-safety, and the ability to reason about extensibility for retries, persistence, and asynchronous delivery.
Software Engineering FundamentalsTechnical Screen - AmazonMediumSoftware EngineerDesign an Object-Oriented Shopping Cart
Tests object-oriented design principles, domain modeling for monetary precision, extensible discount strategies, and thread-safe state mutations.
Software Engineering FundamentalsTechnical ScreenObject-Oriented DesignDesign PatternsConcurrency - AmazonMediumSoftware EngineerDesign and Implement a Shopping Cart Object Model for an Online Store
An object-oriented design exercise that asks you to model and implement a shopping cart for an online store, covering adding, updating and removing products and computing the total. It tests class boundaries, explicit edge-case policies, exact money handling and how cleanly the design extends to promotions.
Software Engineering FundamentalsOnsite - AmazonMediumSoftware EngineerDesign object model for an elevator system
This question evaluates object-oriented design and system-architecture skills for modeling a multi-elevator control system, including class responsibilities, interactions, request flow, and scheduling policies.
Software Engineering FundamentalsOnsite - AmazonHardSoftware EngineerDiagnose Return Eligibility Scoring Bugs
This question evaluates debugging and root-cause analysis skills related to scoring logic, data integrity, feature engineering, and system reliability in return-eligibility services.
Software Engineering FundamentalsOnline Assessment - AmazonEasySoftware EngineerEvaluate an AI-Assisted Engineering Workflow
This question tests the candidate's ability to critically analyze the integration of AI tools into the software development lifecycle by balancing productivity gains with code quality and reliability.
Software Engineering FundamentalsTechnical ScreenAI-EngineeringWorkflow-DesignCode-Migration - AmazonHardSoftware EngineerExplain Aurora-style internals: WAL, MVCC, replication, recovery
This question tests your conceptual understanding of how log-structured storage engines, like Amazon Aurora, decouple the database log from the data pages to achieve low-latency replication and fast recovery.
Software Engineering FundamentalsTechnical ScreenDistributed SystemsDatabase InternalsStorage Engines - AmazonMediumSoftware EngineerExplain a GenAI Use Case and Learn from a Failure
Tests your ability to critically analyze a production Generative AI architecture, dissect a technical failure or performance degradation, and demonstrate rigorous root-cause analysis alongside validated engineering remediations.
Software Engineering FundamentalsOnsiteGenerative AISystem DesignRCA - AmazonHardSoftware EngineerFix a Broken Podcast Episode Search Against Five Behavior Rules
Fix a broken podcast episode search function so it matches substrings case-insensitively, supports searching by title, host, or both, sorts results correctly, and excludes unpublished episodes.
Software Engineering FundamentalsOnline Assessmentdebuggingtestingsearch - AmazonHardSoftware EngineerFix a Buggy Spring Boot Movie Search Against Five Search Rules
From an Amazon online assessment: fix a buggy Spring Boot movie search backend so that search is partial-match and case-insensitive, can target titles, stars or all fields, sorts by popularity with further keys, and returns only published movies. It tests debugging layered code, query logic and test-first verification.
Software Engineering FundamentalsOnline Assessment - AmazonMediumSoftware EngineerFix the Password Reset Workflow
Implement and debug a stateful password reset manager that handles token generation, time-to-live (TTL) expiry, brute-force attempt limits, and single-use token invalidation.
Software Engineering FundamentalsOnline AssessmentAuthenticationState MachineSecurity - AmazonMediumSoftware EngineerGeneralize Dictionary Merging
Explain an approach to merging two dictionaries and generalizing it efficiently to k dictionaries, explicitly identifying the collision semantics that must be clarified.
Software Engineering FundamentalsOnsite - AmazonMediumSoftware EngineerImplement Review Content Moderation
This problem tests your ability to design a content moderation service that efficiently checks for prohibited words and maintains a running count of violations per user using a stateful metadata store.
Software Engineering FundamentalsOnline AssessmentHash MapsData StructuresState Management - AmazonMediumSoftware EngineerImplement a Single-Node Priority Pub/Sub
This question evaluates understanding of concurrent system design, in-memory publish–subscribe semantics, prioritized delivery ordering, API and data structure selection, and thread-safety within the Software Engineering Fundamentals domain.
Software Engineering FundamentalsOnsite - 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 - AmazonMediumSoftware EngineerRepair a Django Post-Creation Endpoint and Its React Contract
Implement and repair a Django REST Framework view and serializer for post creation to satisfy frontend React contract requirements, ensure atomic tag associations, and enforce authenticated author assignment.
Software Engineering FundamentalsOnline AssessmentDjangoREST APIDatabase Transactions - 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 EngineerValidate AI-Generated Code Safely
Implement a static validation engine that inspects an Abstract Syntax Tree (AST) representation of AI-generated code to enforce security, safety, and complexity boundaries.
Software Engineering FundamentalsTechnical ScreenCode SafetyASTTree Traversal - AmericanEasySoftware EngineerDebug and Extend a Nested-Class Program
This problem tests your ability to identify state synchronization issues in nested class structures and implement a thread-safe extension to existing class logic.
Software Engineering FundamentalsTechnical ScreenDebuggingObject-Oriented ProgrammingEncapsulation - AmericanMediumSoftware EngineerStructure a Pizza-Ordering System with Four Discount Policies
Design an extensible object-oriented order pricing system for a pizzeria that models pizzas, applies four distinct discount policies with specific composition rules, and returns an itemized, explainable receipt.
Software Engineering FundamentalsOnline AssessmentObject-Oriented DesignDesign PatternsData Structures - AmperityHardSoftware EngineerImplement the Core of Minesweeper
Design an object-oriented Minesweeper game engine featuring state management, board generation, flood-fill cell revealing, and testable boundaries.
Software Engineering FundamentalsTechnical ScreenObject-Oriented DesignBFSState Machine - 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 - AnrokMediumSoftware EngineerBatch Key Lookups Into One HTTP Request per 100 ms With Callbacks
A callback-based batching exercise: implement start_fetch(key, callback) so that lookups made within a 100 ms window are sent to a /get?keys= endpoint as one HTTP request, using only http_get_request and set_timeout. It tests timer scheduling, per-key callback bookkeeping and keeping overlapping in-flight batches apart on an event loop.
Software Engineering FundamentalsTechnical Screen - AnthropicMediumSoftware EngineerBatch Image Resize and Rotate with Pillow: Exact Dimensions, Parallelism, Bad Files
A three-part Python image processing exercise: resize and rotate images with Pillow while predicting the exact printed dimensions, speed up a large batch with multiprocessing and a staged pipeline, then keep the batch running through corrupt, oversized and unsupported files. It tests API precision, parallelism and robustness.
Software Engineering FundamentalsOnsite - AnthropicHardSoftware EngineerBatch-Apply Pillow Image Transforms, Then Parallelize: Processes vs Threads
A Python coding exercise that applies a given sequence of Pillow transforms to a folder of cat images and then asks you to cut the total processing time. It tests clean per-image code, reasoning about CPU-bound work and the GIL, choosing between processes and threads, and sizing a worker pool.
Software Engineering FundamentalsOnsite