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 241–270 of 2810 results
- AmazonHardSoftware EngineerOptimize 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 EngineerOptimize 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 EngineerOrganize 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 EngineerOvercome 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 - AmazonEasySoftware EngineerPrint 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 EngineerPrioritize 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 EngineerRearrange 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 EngineerRearrange 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 EngineerRecover 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 EngineerReflect 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 EngineerReflect 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 EngineerResolve 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 EngineerResolve 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 EngineerResolve a Conflict While Working with a Team
Describe a team conflict, the competing concerns, your actions, and the effects on the project and working relationship.
Behavioral & LeadershipTechnical Screen - AmazonHardSoftware EngineerResolve a Technical Disagreement with a Teammate
This question tests your ability to navigate professional conflict, prioritize objective technical outcomes over ego, and maintain collaborative relationships when faced with divergent architectural or implementation opinions.
Behavioral & LeadershipTechnical ScreenBehavioralConflict ResolutionLeadership - AmazonMediumSoftware EngineerRespond Constructively to Negative Feedback
Describe meaningful negative feedback that was difficult to hear and materially affected your work. Explain how you clarified its impact, evaluated it without defensiveness, changed a specific behavior, and gathered later evidence of improvement.
Behavioral & LeadershipTechnical Screen - AmazonMediumSoftware EngineerRespond to negative feedback and exceed requirements
Respond to negative feedback and exceed requirements 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 - AmazonHardSoftware EngineerResponding to a Difficult Engineering Challenge
Tests your ability to diagnose and resolve a high-stakes, ambiguous engineering challenge while demonstrating ownership, data-driven decision-making, and measurable business impact.
Behavioral & LeadershipTechnical ScreenBehavioralAmazon Leadership PrinciplesOwnership - AmazonMediumSoftware EngineerResume Project Deep Dive: Tech Stack Choices, Trade-offs, Business Logic and Ownership
Walk an interviewer through a project from your resume, explaining why the team chose its technology stack, which trade-offs those choices carried, how the business logic works, and exactly which part you owned. It tests depth of understanding, honest ownership boundaries and consistency under repeated probing.
Behavioral & LeadershipTechnical Screen - AmazonHardSoftware EngineerRetrieve the Latest Timestamped Value for Each Key
Design a timestamped key-value store supporting out-of-order updates and point-in-time or latest queries in sub-linear time per operation.
Coding & AlgorithmsTechnical ScreenDesignBinary SearchHash Map - AmazonHardSoftware EngineerReturn all valid word-break sentences
This question evaluates skills in string processing, recursive search/backtracking, enumeration of all valid segmentations, and algorithmic complexity reasoning for generating multiple solutions.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerReturn the Top K Most Frequent Elements
This problem tests the ability to efficiently count element frequencies and use bucket-based sorting to avoid O(N log N) time complexity.
Coding & AlgorithmsTechnical ScreenHash MapBucket SortFrequency - AmazonMediumSoftware EngineerSearch a Unix-Like File Tree with Composable Filters
Search an in-memory Unix-like file tree for physical files matching name and size filters combined by AND or OR. Support optional symlink traversal, broken links, cycles, duplicate reachability, stable identity, and lexicographically sorted canonical paths.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerSearch target in unknown-length sorted array
This question evaluates algorithm design and implementation skills for search algorithms on array-like interfaces with unknown length, focusing on bounds discovery, handling out-of-bounds sentinels, duplicate elements, and rigorous time and space complexity analysis.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerShare examples of impact and simplicity
This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Share examples of impact and simplicity states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Behavioral & LeadershipTechnical Screen - AmazonMediumSoftware EngineerShow Initiative, Improve Processes, and Demonstrate Impact
This question assesses the candidate's ability to identify inefficiencies, demonstrate proactive leadership, and quantify the tangible impact of their improvements on team productivity or system performance.
Behavioral & LeadershipTechnical ScreenBehavioralLeadershipProcess Improvement - AmazonMediumSoftware EngineerSolve Three Algorithm Variants
This multi-part question evaluates combinatorics and permutation generation, tree traversal and node-relationship classification, and array/sequence processing under bounded-gap constraints, measuring algorithmic design, complexity reasoning, and data-structure manipulation within the Coding & Algorithms domain.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerSolve Two OA Algorithm Problems
These two problems evaluate proficiency with greedy algorithms, array manipulation, simulation of stateful processes, and feasibility analysis under capacity constraints.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerSolve array and list algorithms
This question evaluates proficiency in array and list algorithms, including ordering and counting techniques for relative element ranking, merging multiple sorted inputs, and algorithmic design for a package locker retrieval operation, testing data structure manipulation and retrieval logic.
Coding & AlgorithmsTechnical Screen - AmazonEasySoftware EngineerSolve array duplicates and two-type subarray
This problem tests your ability to efficiently detect duplicates using hashing and to apply the sliding window technique to find subarrays that meet specific frequency constraints.
Coding & AlgorithmsTechnical ScreenArraysHash TableSliding Window