practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6027 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 6027
- Problems
- 2232
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 4951–4980 of 6027 results
- System DesignMediumModel answerBuild a photo-sharing platform architecture
Architect a distributed system for uploading photos, following users, and serving personalized image feeds at scale with low latency.
System Designsystem-designdistributed-systemsscalabilitycaching - Machine LearningMediumModel answerCore ML and Statistics Concepts Explained
Demonstrate understanding of foundational machine learning and statistics concepts through definitions, examples, and practical considerations.
Machine Learningmachine-learningstatisticsdecision-treesneural-networks - StringsMediumAuto-gradedMinimum Edits to Make a String k-Palindromic
Tests the ability to combine classic edit-distance dynamic programming with palindrome structure to find the minimum single-character substitutions needed to make a string palindromic after removing exactly k characters.
Stringsstringsdynamic-programmingedit-operations - Trees & GraphsMediumAuto-gradedBuild Installation Order from Package Dependencies
Tests graph traversal with cycle detection to compute a valid installation sequence for packages with dependencies.
Trees & Graphsgraph-traversaltopological-sortcycle-detectiondfs - Heaps, Sorting & SearchMediumModel answerStreaming Weighted Reservoir Sampling Without Replacement
Implement a single-pass, memory-efficient weighted sampler that draws k distinct items proportional to weight from a potentially huge stream.
Heaps, Sorting & Searchreservoir-samplingprobabilitynumerical-stabilityheap - Trees & GraphsHardAuto-gradedVirus Spread Simulation with Recovery and Infection Thresholds
Models discrete-time epidemic propagation on a grid where cells require multiple infected neighbors to catch the virus and recover after a fixed duration.
Trees & Graphssimulationbfsgraph-traversal - System DesignHardModel answerBuild a Multi-Region Distributed Storage Platform
Design a cloud storage system handling file uploads, synchronization, and sharing with strong durability, partition tolerance, and global availability.
System Designdistributed-systemsstoragereplicationconsistency - Greedy & IntervalsMediumAuto-gradedVenue Hours Checker with Overnight and Multi-Window Schedules
Tests whether a venue is open at a given weekday and time, handling multiple daily windows, overnight shifts, and week-boundary wraparound.
Greedy & Intervalsintervalssimulationboundary-conditions - BehavioralHardModel answerNavigating Critical Technical Risks Under Delivery Pressure
Describe how you spotted a major technical threat to a project, evaluated its severity, communicated trade-offs across teams, and verified your mitigation worked.
Behavioralleadershiprisk-managementstakeholder-communicationdecision-making - System DesignMediumModel answerBuild an E-Commerce Book Marketplace Backend
Architect a scalable platform for browsing, purchasing, and tracking book orders with high-availability search and transactional inventory correctness.
System Designe-commerceinventory-managementdistributed-transactionssearch-infrastructure - BehavioralMediumModel answerDelivering Under Pressure: Tight Timelines and Missed Dates
Demonstrate how you plan and execute under deadline pressure, and how you handle the fallout when a commitment slips.
Behavioraldeadlinesownershipstakeholder communicationestimation - Data Structure DesignEasyAuto-gradedSliding Window Hit Counter
Tests ability to design time-windowed event counters with efficient memory management and query performance using sliding-window techniques.
Data Structure Designqueuesliding-windowdata-structure-design - Heaps, Sorting & SearchMediumAuto-gradedBinary Search Over a Row-Chained Sorted Grid
Tests whether a candidate can exploit strict row-chaining in a sorted matrix to locate a target value in O(log(m·n)) time using a single binary search.
Heaps, Sorting & Searchbinary-searcharraysmatrix - BehavioralMediumModel answerConcurrency Models: Processes, Threads, and Shared Memory Safety
Contrast processes and threads in terms of isolation and resource sharing, then explain synchronization challenges in multithreaded programs.
Behavioralconcurrencyoperating-systemsmultithreadingsynchronization - BehavioralMediumModel answerPresenting Your Engineering Career and Impact
Articulate your technical background, leadership scope, and career trajectory in a structured 2-3 minute narrative that demonstrates senior-level thinking.
Behavioralleadershipcommunicationcareer-narrativetechnical-influence - BehavioralMediumModel answerArchitectural Trade-offs and Process Improvement
Discuss a past architecture choice with its trade-offs and retrospective, then explain how you'd implement better code review practices on a resistant team.
Behavioralleadershiptechnical-decisionsteam-processescommunication - BehavioralMediumModel answerMap Your Growth Arc and Navigate Team Disagreements
Articulate a concrete 1–3 year technical growth plan and walk through a real collaboration story where you resolved a disagreement with data.
Behavioralcareer goalsteamworkconflict resolutiontechnical decision-making - BehavioralMediumModel answerHandling Competing Work and Mid-Course Corrections
Discuss your framework for juggling multiple urgent tasks and describe a project where you pivoted strategy after starting.
Behavioralprioritizationadaptabilityleadershipdecision-making - SQL & DataMediumModel answerSurvey Response Rates and Rating Comparison by User Tenure
Compute an overall survey response rate and compare average notification ratings across user tenure cohorts using SQL joins, aggregation, and bucketing.
SQL & Datasqlaggregationcohort-analysisjoins - BehavioralHardModel answerLead a Cross-Functional Project That Missed Its Launch
Demonstrate self-awareness, leadership under pressure, and lessons learned by walking through a project that failed to deliver on time or on goal.
Behavioralbehavioralfailureproject managementleadership - Machine LearningHardModel answerDesign a Question-Answering System with Document Retrieval
Build a production-ready system that answers questions from local documents using an LLM API, vector search, and streaming responses.
Machine Learningragllmvector-searchapi-design - System DesignMediumModel answerDesign a RAG-Powered Internal Knowledge Assistant
Architect a multi-turn chatbot that retrieves answers from internal docs using RAG, enforces per-user access controls, and handles traffic spikes under a 2-second latency budget.
System Designragvector-searchaccess-controlconversational-ai - BehavioralMediumModel answerArticulate Technical Ownership of a Complex Project
Demonstrate technical leadership by walking through a significant project: the challenge, your decisions, system structure, alternatives, outcomes, and retrospective insights.
Behavioralleadershiparchitecturetrade-offsproject-management - Statistics & ExperimentsMediumModel answerDesign a C-Level Dashboard for a B2B SaaS Product
Build an executive dashboard replacing a cluttered regional trend chart with actionable KPIs, comparable visualizations, and clear insights.
Statistics & Experimentsdata-visualizationmetricsdashboard-designexecutive-communication - System DesignMediumModel answerChoosing CDC Techniques for Multi-Clock Digital Systems
Explain the failure modes at clock domain crossings and select the right synchronization technique for single-bit signals, events, and multi-bit data transfers.
System Designdigital-designclock-domain-crossingmetastabilityhardware - Trees & GraphsMediumModel answerMaze Exploration with Limited Sensor API
Explore an unmapped grid using a restricted movement API to find a target location, tracking state through relative coordinates.
Trees & Graphsgraph-traversaldfsstate-trackingbacktracking - SQL & DataMediumAuto-gradedTop Destination by Clear-Day Frequency
Tests grouping, filtering categorical records, and correctly handling ties when aggregating a frequency count across multiple keys.
SQL & Dataaggregationgroupingfilteringdictionaries - Machine LearningMediumModel answerBuild K-Means from Scratch and Contrast It with GMM
Implement Lloyd's algorithm with k-means++ seeding, handle edge cases, then explain how Gaussian Mixture Models and EM extend the core idea.
Machine Learningclusteringk-meansGMMEM algorithm - System DesignMediumModel answerDesign a Multi-Channel Notification Delivery Platform at Scale
Design a globally distributed system that delivers billions of push, email, and SMS notifications daily with low latency, at-least-once guarantees, and no duplicates on retry.
System Designdistributed-systemsmessagingqueuesidempotency - BehavioralHardModel answerArticulating Your Career Transition
Explain why you're leaving your current role in a way that demonstrates growth, research, and forward momentum rather than dissatisfaction.
Behavioralcareer-growthmotivationself-awareness