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 121–150 of 4616 results
- Akuna CapitalHardSoftware EngineerMinimum Movement Cost to Segregate Binary Digits
This problem tests greedy algorithm design and sequence optimization by calculating the cumulative distance required to shift all '1's to the end of a binary string.
Coding & AlgorithmsTechnical ScreenGreedyStringsArrays - AlibabaMediumSoftware EngineerExplain What Your Team Owns and Why It Needs Its Headcount
A resume deep-dive question asking a software engineer to explain what their team owns, why it needs its current number of engineers, and one concrete example that shows the work is harder than it looks. It tests system-level understanding, judgment about complexity and composure when the interviewer says the business sounds simple.
Behavioral & LeadershipTechnical Screen - AlibabaMediumSoftware EngineerFixed-Capacity Cache That Evicts the Least Frequently Used Key, Ties by Recency
Build a fixed-capacity key-value cache that evicts the key with the fewest uses, breaking ties by least recent use, and replay a sequence of get and put operations to return each read result. It tests careful per-key frequency and recency tracking with constant average time per operation.
Coding & AlgorithmsTechnical Screen - AlibabaMediumSoftware EngineerIdempotent Kafka Consumer: Duplicate Writes, Offset Commits and a Second Database
A backend design discussion on making a concurrent Kafka consumer idempotent: how to stop duplicate effects when the same message is processed twice, whether a duplicate write should throw or return the existing data, how offsets keep advancing, and how to keep a second database consistent when publishing fails.
System DesignTechnical Screen - AltruistHardSoftware EngineerDesign scalable rate limiter with token bucket
This question evaluates understanding of rate-limiting algorithms and scalability concepts, specifically comparing sliding-window and token-bucket approaches with attention to lazy refill, per-client state modeling, memory efficiency, concurrency, and extendability to distributed systems.
System DesignTechnical Screen - AmazonMediumSoftware EngineerAccept Notification Bursts With Low Latency
Design a high-throughput, low-latency notification ingestion and delivery service capable of absorbing sudden 10x traffic spikes while maintaining strict delivery SLOs and downstream rate limits.
System DesignTechnical ScreenDistributed SystemsMicroservicesMessage Queues - AmazonEasyData EngineerAnswer Amazon Behavioral Questions
Three classic Amazon final-round behavioral questions — a significant challenge you overcame, motivating a struggling team, and why Amazon — answered with the STAR framework and Amazon Leadership Principles. Each answer emphasizes ownership, problem solving, collaboration, and quantified impact.
Behavioral & LeadershipTechnical Screen - AmazonEasyData ScientistAnswer Amazon-style behavioral questions
This question evaluates interpersonal leadership, communication, and impact-oriented decision-making for a Data Scientist, testing competencies such as handling workplace challenges, motivating teams, and tying experiences to organizational leadership principles.
Behavioral & LeadershipTechnical Screen - AmazonMediumSoftware EngineerAnswer Behavioral Questions About Deadlines, Feedback, and Ambiguity
This question tests your ability to structure past professional experiences using the STAR method (Situation, Task, Action, Result) to demonstrate ownership, adaptability, and emotional intelligence in high-pressure environments.
Behavioral & LeadershipTechnical ScreenBehavioralLeadershipCommunication - AmazonHardSoftware EngineerAnswer Dive Deep and Ownership in LP interview
This question evaluates a candidate's competency in debugging complex production issues, root cause analysis, operational ownership, cross-team coordination, and incident management within the behavioral and leadership domain.
Behavioral & LeadershipTechnical Screen - AmazonEasySoftware EngineerAnswer Leadership and GenAI Behavioral Questions
This set of prompts evaluates leadership, communication, problem-solving, adaptability, learning agility, and hands-on experience with generative AI, including skills in validating outputs and improving workflows.
Behavioral & LeadershipTechnical Screen - AmazonMediumSoftware EngineerAnswer a large batch of variable-ratio queries from division equations
Given division equations between named variables and their values, answer a large batch of ratio queries, returning -1.0 whenever a ratio cannot be determined. It tests chaining ratios through shared variables, handling unknown and disconnected variables, and reusing work across many queries, the scale follow-up raised in the interview.
Coding & AlgorithmsTechnical Screen - AmazonHardSoftware EngineerAnswer common Amazon behavioral questions
This question evaluates behavioral competencies and leadership skills, focusing on individual problem-solving, team motivation, communication, and cultural fit through structured storytelling of past experiences.
Behavioral & LeadershipTechnical Screen - AmazonHardSoftware EngineerAnswer common internship behavioral questions
This question evaluates behavioral competencies including motivation and cultural fit, role-specific interest, decision-making under time pressure, prioritization, and deadline management.
Behavioral & LeadershipTechnical Screen - AmazonMediumSoftware EngineerAnswer common leadership prompts
This question evaluates leadership, communication, teamwork, ownership, feedback handling, problem-solving, and time-management competencies through behavioral examples.
Behavioral & LeadershipTechnical Screen - AmazonEasyData ScientistAnswer core probability and inference questions
Tests fundamental statistical inference and probability concepts essential for experimentation and data analysis, including the Central Limit Theorem, hypothesis testing errors, and causal reasoning.
Statistics & MathTechnical ScreenStatisticsA/B TestingHypothesis Testing - AmazonMediumSoftware EngineerAnswer two coding questions (SQL and DP)
This problem tests SQL data aggregation skills with NULL handling and algorithmic proficiency in dynamic programming to count palindromic subsequences in a string.
Coding & AlgorithmsTechnical ScreenSQLDynamic ProgrammingAggregation - AmazonMediumData ScientistAppend country tables and rank salaries in USD
This question evaluates skills in data manipulation and integration, specifically appending country-level tables, normalizing salaries via historical exchange rates, deduplicating by a composite primary key, and ranking results, with implementations expected in both SQL and pandas.
Data Manipulation (SQL/Python)Technical Screen - AmazonMediumSoftware EngineerArchitect an AI Chatbot for Enterprise Users
This question tests your ability to design a scalable, enterprise-grade AI chatbot system that handles high throughput, ensures data privacy, and integrates with existing business data stores.
System DesignTechnical ScreenRAGScalabilityAccess Control - AmazonMediumData ScientistAssess Candidate's Alignment with Amazon Leadership Principles
Evaluates Amazon-style behavioral storytelling for data-science leadership principles such as customer obsession, ownership, dive deep, and earn trust. Strong answers use STAR, metrics, trade-offs, and reflection.
Behavioral & LeadershipTechnical Screen - AmazonHardProduct ManagerBehavioral Deep-Dive & Leadership Scenarios
Practice behavioral deep-dive and leadership scenarios for Product Managers, including high-impact projects, cross-functional programs, complex launches, process improvement, strategy focus, influence, disagreement, limited-data decisions, leadership principles, and input metrics.
Behavioral & LeadershipTechnical Screen - AmazonMediumProduct ManagerBehavioral: Ambiguity & Conflict Resolution
Practice behavioral PM answers about delivering results amid ambiguity and resolving principled disagreement. The guide uses STAR examples to show customer problem framing, metrics, experiments, decision docs, stakeholder alignment, respectful conflict, disagree-and-commit behavior, and measurable outcomes.
Behavioral & LeadershipTechnical Screen - AmazonMediumSoftware EngineerBrainstorm a business problem approach
Brainstorm a business problem approach evaluates metric design, causal reasoning, experiment setup, diagnostics, SQL/statistical checks, and recommendations in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Analytics & ExperimentationTechnical Screen - AmazonMediumData ScientistBuild DiD dataset with SQL
This question evaluates proficiency in SQL-based data manipulation and panel construction for staggered-adoption difference-in-differences, testing skills in handling adoption dates, event-time calculations, boundary conditions, and aggregation in the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen - AmazonMediumSoftware EngineerBuild a BFS Web Crawler
This question evaluates understanding of breadth-first traversal, URL normalization, domain scoping, duplicate detection, and retry/error handling, measuring algorithmic design and robustness in networked code.
Coding & AlgorithmsTechnical Screen - AmazonMediumSoftware EngineerBuild a responsive grid of fixed boxes
This problem tests your proficiency in creating responsive UI layouts using CSS Flexbox or Grid and your ability to optimize rendering performance for large datasets using virtualization or efficient list rendering.
Software Engineering FundamentalsTechnical ScreenReactCSS GridFrontend - AmazonMediumSoftware EngineerCaesar Cipher with Translation-Table Optimization
This question tests string manipulation, modular arithmetic, and the ability to optimize performance by trading space for time using a precomputed lookup table.
Coding & AlgorithmsTechnical ScreenStringsOptimizationAlgorithms - AmazonMediumSoftware EngineerCalculate Circular Route Query Distance
This question evaluates a candidate's ability to reason about circular arrays, distance computations, and query-efficient algorithms, assessing concepts such as modular indexing and cumulative distances.
Coding & AlgorithmsTechnical Screen - AmazonMediumData ScientistCalculate Defect Rate and Identify Top Lanes for Carriers
This question evaluates competency in SQL-based data manipulation for a data scientist role, covering joins, aggregations, date-based filtering, metric computation, and use of window functions to derive week-over-week changes.
Data Manipulation (SQL/Python)Technical Screen - AmazonMediumData ScientistCalculate Monthly Revenue from Orders in 2023
This question evaluates proficiency in SQL-based data manipulation, including aggregation, date extraction, and combining transactional tables to produce business metrics, and falls under the Data Manipulation (SQL/Python) domain.
Data Manipulation (SQL/Python)Technical Screen