Katkat

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 331–360 of 3640 results

  • AmazonMediumSoftware Engineer
    Solve 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 Engineer
    Solve 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 Engineer
    Solve 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 Engineer
    Solve 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 Engineer
    Solve 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
  • AmazonMediumData Scientist
    Solve two-sum variants at scale

    This question evaluates array and hashing algorithms, pair-sum reasoning including duplicate handling and lexicographic minimality, streaming and external-memory algorithm design, trade-offs in time/space complexity, and extension to three-sum with deduplication.

    Coding & AlgorithmsOnsite
  • AmazonMediumSoftware Engineer
    Spreadsheet 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 Engineer
    Stack 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 Engineer
    Take 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
  • AmazonMediumApplied Scientist
    Test whether two user populations differ

    This question evaluates competency in statistical inference and multivariate analysis, covering hypothesis formulation about equal distributions, preprocessing and normalization considerations, choice of statistical tests or modeling approaches, and interpretation of significance and effect size.

    Machine LearningOnsite
  • AmazonHardProduct Manager
    The Most Comprehensive Amazon PM Questions

    Prepare for Amazon PM behavioral and leadership interviews with a structured story-bank approach. The guide organizes common Leadership Principle prompts, shows how to answer with STARL, explains what strong ownership, customer obsession, decision-making, trust, integrity, and delivery stories include, and gives concrete preparation tactics.

    Behavioral & LeadershipOnsite
  • AmazonMediumData Scientist
    Transform Customer Feedback into Valuable Product Enhancements

    Transform Customer Feedback into Valuable Product Enhancements 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
  • AmazonMediumData Scientist
    Transform event logs with subscription windows in pandas

    This question evaluates a candidate's competency in time-based event attribution and temporal interval manipulation using pandas, covering interval merging, subscription-aligned revenue aggregation, anomaly flagging, and handling edge cases like overlapping or back-to-back subscriptions.

    Data Manipulation (SQL/Python)Onsite
  • AmazonMediumSoftware Engineer
    Turn 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 Engineer
    Use 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 Engineer
    Validate 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 Engineer
    Working 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
  • AmazonMediumData Scientist
    Write and explain gradient descent pseudocode

    This question evaluates a candidate's understanding of batch gradient descent for linear regression with an intercept, covering concepts such as mean squared error optimization, vectorized matrix operations, analytical gradient computation, learning rate schedules, stopping criteria, feature scaling, and L2 regularization.

    Machine LearningOnsite
  • AmperityHardSoftware Engineer
    Design 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 Engineer
    Render 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 Engineer
    Implement 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 Engineer
    Design 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 Engineer
    Build 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
  • AndurilMediumFrontend Engineer
    Diagnose a Memory Leak in a JavaScript Web Application

    Tests your ability to identify common JavaScript memory leak patterns—such as detached DOM trees, uncleared event subscriptions, and unbounded closures—and verify resolution using browser heap profiling techniques.

    Software Engineering FundamentalsOnsiteJavaScriptPerformanceMemory Management
  • AndurilMediumSoftware Engineer
    Evaluate 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 Engineer
    Explain 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 Engineer
    A 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 Engineer
    A 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 Engineer
    AI 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 Engineer
    AI 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