Katkat

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 511–540 of 5874 results

  • AmazonHardSoftware Engineer
    Minimize operations to reduce price difference

    This question evaluates algorithm design and array-manipulation skills, focusing on reasoning about constrained transfers of value, invariants, and the minimization of operation counts under a fixed per-operation bound.

    Coding & AlgorithmsOnline Assessment
  • AmazonHardSoftware Engineer
    Minimize time for two handlers

    This problem tests your ability to use dynamic programming or greedy strategies with state tracking to minimize the total completion time of tasks assigned to two distinct handlers.

    Coding & AlgorithmsOnline AssessmentDynamic ProgrammingOptimizationGreedy
  • AmazonMediumSoftware Engineer
    Minimum 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 Engineer
    Minimum 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
  • AmazonMediumSoftware Engineer
    Minimum 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 Engineer
    Minimum Path Length Through a Grid With One Allowed Cell Conversion

    This problem tests your ability to adapt BFS to a state-space graph where an additional dimension represents the remaining capacity to modify the grid, requiring efficient state tracking to find the shortest path.

    Coding & AlgorithmsOnline AssessmentBFSGraphShortest Path
  • AmazonHardSoftware Engineer
    Minimum Priority Conflicts When Interleaving Two Lowercase Strings

    From an Amazon online assessment: merge two lowercase strings into one while keeping each string's internal order, where smaller letters have higher priority and every lower-priority letter placed before a higher-priority one counts as a conflict. Return the minimum possible number of conflicts over all valid merges.

    Coding & AlgorithmsOnline Assessment
  • AmazonMediumSoftware Engineer
    Model 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 Engineer
    Negotiate 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
  • AmazonHardSoftware Engineer
    Optimize attention for long sequences

    Optimize attention for long sequences evaluates ML product requirements, data/labeling, modeling, serving architecture, evaluation, monitoring, and trade-offs in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    ML System DesignTechnical Screen
  • AmazonMediumSoftware Engineer
    Optimize with a cache/hash map

    Amazon software-engineer technical-screen coding follow-up: take an existing script (e.g. one that resolves file paths or parses license strings) and design a hash-map-backed in-memory cache to speed up repeated lookups. It tests choosing a cacheable computation, defining normalized keys and values, estimating hit rate, picking an eviction policy (LRU/LFU/TTL), invalidating on file mtime/content-hash changes, ensuring concurrency safety, and analyzing time and space complexity before and after caching.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Order 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 Engineer
    Organize a Product Initiative Across Stakeholders

    This question assesses a candidate's ability to drive complex, cross-functional projects by aligning stakeholders, managing interdependencies, and adapting to shifting priorities.

    Behavioral & LeadershipTechnical ScreenBehavioralLeadershipProject Management
  • AmazonMediumSoftware Engineer
    Overcome an Obstacle That Threatens Delivery

    Describe a significant obstacle that threatened an outcome you owned and required more than extra personal effort. Explain how you diagnosed the true constraint, changed the plan, communicated trade-offs, aligned people, and reached a responsible result.

    Behavioral & LeadershipTechnical Screen
  • AmazonMediumSoftware Engineer
    Overcoming 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
  • AmazonMediumSoftware Engineer
    Ownership 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
  • AmazonHardSoftware Engineer
    Prepare 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
  • AmazonEasySoftware Engineer
    Print all odd numbers from an integer list

    This question tests the ability to filter a collection based on a parity condition and handle potential overflow or negative integer scenarios.

    Coding & AlgorithmsTechnical ScreenArraysBasic LogicFiltering
  • AmazonMediumSoftware Engineer
    Prioritize Under a Tight Deadline

    This question evaluates a software engineer's skills in prioritization, resource management, stakeholder communication, risk assessment, and leadership within project delivery, and is categorized as Behavioral & Leadership testing project management and decision-making under constraints.

    Behavioral & LeadershipTechnical Screen
  • AmazonMediumSoftware Engineer
    Rate Engineering Work Simulation Responses

    This situational judgment exercise evaluates your ability to balance technical quality, customer impact, ownership, and stakeholder communication when resolving high-stakes engineering dilemmas under tight deadlines.

    Behavioral & LeadershipOnline Assessmentsituational-judgmentleadership-principlesamazon-oa
  • AmazonMediumSoftware Engineer
    Rearrange Digits Without Adjacent Sums Above Nine

    Rearrange a multiset of digits into the lexicographically smallest string such that every adjacent pair sums to at most nine, or return an empty string if impossible.

    Coding & AlgorithmsTechnical Screengreedybacktrackingstring
  • AmazonMediumSoftware Engineer
    Rearrange a String So Adjacent Characters Differ

    Construct the lexicographically smallest rearrangement of a lowercase string with no equal adjacent characters, checking feasibility after each deterministic choice and returning empty when separation is impossible.

    Coding & AlgorithmsTechnical Screen
  • AmazonMediumSoftware Engineer
    Recover from a Missed Deadline

    Tests your ability to take ownership of project setbacks, proactively communicate risks, make pragmatic trade-offs under pressure, and establish lasting process improvements.

    Behavioral & LeadershipTechnical ScreenBehavioralOwnershipDeliver Results
  • AmazonMediumSoftware Engineer
    Reflect on criticism and deadlines

    Reflect on criticism and deadlines 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 Engineer
    Reflect on self, goals, learning, competitions

    Prepare behavioral answers about self-description, goal planning, recent research-paper learning, and competition reflection. Includes structured examples, goal frameworks, paper-summary format, and learning-focused competition analysis.

    Behavioral & LeadershipTechnical Screen
  • AmazonMediumSoftware Engineer
    Repair 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 Engineer
    Replace 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
  • AmazonMediumSoftware Engineer
    Resolve Conflict and Challenge Project Decisions

    This question assesses a candidate's ability to navigate professional disagreements by balancing data-driven technical reasoning with interpersonal tact, demonstrating ownership and the ability to influence stakeholders.

    Behavioral & LeadershipTechnical ScreenConflict ResolutionLeadershipCommunication
  • AmazonMediumSoftware Engineer
    Resolve Package Dependencies with Cycle Detection

    This problem tests your ability to perform a topological sort on a directed graph while identifying cyclic dependencies to ensure a safe build order.

    Coding & AlgorithmsTechnical ScreenGraphDFSTopological Sort
  • AmazonMediumSoftware Engineer
    Resolve 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