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 1561–1590 of 3640 results
- HarveyMediumSoftware EngineerDesign File Storage with Metadata, Access Control, and Chunked Uploads
Design drive-style file storage with metadata and blob separation, ACL checks, resumable chunk uploads, atomic publication, and version conflicts.
System DesignOnsite - HarveyHardSoftware EngineerDesign Retrieval-Augmented Answers from a Document Vault
Design an enterprise-grade retrieval-augmented generation (RAG) service for confidential document vaults. The question tests multi-tenant access control, precise citation provenance, document versioning/freshness, retrieval quality, and hallucination/injection defenses.
ML System DesignOnsiteRAGAccess ControlInformation Retrieval - HarveyMediumSoftware EngineerDesign Spreadsheet Formula Cells
This question evaluates ability to design and implement data structures and algorithms for expression parsing, dependency tracking, incremental evaluation, and cycle detection in an in-memory spreadsheet.
Coding & AlgorithmsOnsite - HarveyMediumSoftware EngineerDesign a Memo Q&A Agent for a Large Law Firm
This problem evaluates your ability to design a RAG-based Q&A system for sensitive legal documents, focusing on multi-stage retrieval, hallucination prevention, and data privacy.
ML System DesignOnsiteRAGLLMSystem Design - HarveyHardSoftware EngineerDesign a RAG Q&A Agent over Law Firm Legal Memos
Design an end-to-end Retrieval-Augmented Generation (RAG) system for querying confidential, complex legal memos. This evaluates domain-specific parsing, hybrid retrieval with fine-grained access control, and grounded generation with strict citation fidelity.
ML System DesignOnsiteRAGVector SearchInformation Retrieval - HarveyMediumSoftware EngineerDesign a RAG question-answering system
Design an enterprise-grade Retrieval-Augmented Generation (RAG) system capable of answering complex natural language queries over millions of internal documents with high precision, low latency, and verifiable citations.
System DesignOnsiteRAGVector DatabaseInformation Retrieval - HarveyMediumAI AgentDesign a Rule-Guided Document Evaluation Agent
Design an enterprise-grade document evaluation agent that evaluates legal and policy compliance against structured playbooks, producing traceable citations, revision proposals, and tier ratings.
ML System DesignOnsiteml-system-designllm-agentslegal-ai - HarveyMediumSoftware EngineerDesign a Secure PDF Data Room
Design an enterprise-grade virtual data room (VDR) for secure legal document sharing, focusing on multi-tenant access control, instant permission revocation, dynamic watermarking, and tamper-evident audit logging.
System DesignOnsitesystem-designsecurityauthorization - HarveyMediumBackend EngineerDesign a secure document vault
This question evaluates a candidate's competencies in secure backend system design, covering authentication and authorization, metadata and object storage architectures, integrity verification for chunked uploads, scalability, and operational reliability.
System DesignOnsite - HarveyMediumSoftware EngineerDesign an LLM Agent System That Revises a Contract to Comply with Dozens of Rules
Design an LLM agent system that revises a given contract so it complies with several dozen given legal rules. It tests decomposing work across model calls, representing edits so they can be traced and merged, resolving overlapping or conflicting changes, per-rule verification, and cost and latency trade-offs.
ML System DesignOnsite - HarveyMediumSoftware EngineerDesign and Evaluate a Retrieval-Augmented Generation Pipeline
Design a RAG pipeline with document chunking, retrieval recall evaluation, grounded answers, permission-aware context, and versioned index updates.
ML System DesignOnsite - HarveyMediumSoftware EngineerEmbedding Retrieval with Cosine Similarity in a Notebook, and Choosing the Metric
Implement embedding-based document retrieval with cosine similarity in a Python notebook, then explain how cosine similarity relates to dot product and Euclidean distance and how to measure retrieval quality. It tests vectorized top-k search, deterministic ties, index metric choice and evaluation metrics.
Machine LearningOnsite - HarveyMediumSoftware EngineerEvaluate Symbol Expressions
Implement an expression evaluator for a dictionary of symbolic definitions with arithmetic operations, resolving dependencies, and detecting cycles and undefined references.
Coding & AlgorithmsOnsitedirected-graphtopological-sortexpression-parsing - HarveyMediumBackend EngineerExplain project decisions and trade-offs
This question evaluates proficiency in technical decision-making, trade-off analysis, and system design ownership for backend projects, including architecture rationale, technology selection, and the candidate's specific role and measurable impact.
Software Engineering FundamentalsOnsite - HarveyMediumSoftware EngineerImplement a Cursor-Based Text Editor
Design an in-memory cursor-based text editor supporting character insertion, deletion, and cursor navigation with efficient time complexity.
Coding & AlgorithmsOnsitedata-structuresstackdesign - HarveyMediumSoftware EngineerImplement a Database Connection Pool
Tests your ability to implement a thread-safe connection pool that manages connection lifecycles, blocking acquisition with timeouts, and resource reuse under concurrent access.
Coding & AlgorithmsOnsiteConcurrencyMultithreadingObject-Oriented Design - HarveyMediumBackend EngineerImplement tag matcher and filesystem
This combined prompt evaluates string-processing and parsing skills for tag matching and design/implementation skills for an in-memory file system, measuring competencies in exact whole-word matching, case normalization, punctuation and duplicate handling, path parsing, hierarchical data structures, and file API behaviors.
Coding & AlgorithmsOnsite - HarveyMediumSoftware EngineerIn-Memory File System: Create, Track Duplicates, and List
Design an in-memory file system supporting directory creation, file creation with automated duplicate-name collision resolution, content retrieval, and directory listing.
Coding & AlgorithmsOnsiteTrieDesignTree - HarveyMediumSoftware EngineerProject Deep Dive + Core-Values Behavioral Round
This interview module assesses your technical ownership, architectural decision-making, and alignment with engineering core values such as velocity, rigor, and customer obsession.
Behavioral & LeadershipOnsitebehavioralproject-deep-diveleadership - HarveyMediumBackend EngineerResolve conflict across teams
This question evaluates conflict resolution, stakeholder alignment, cross-team communication, and leadership competencies in the context of engineering coordination, classified under Behavioral & Leadership for a backend engineer role.
Behavioral & LeadershipOnsite - HarveyMediumMachine Learning EngineerTraining LLM Agents for Long-Context, Long-Horizon Tasks: Environments and Rewards
An ML research discussion on training language-model agents for long-context, long-horizon tasks. It tests the training recipe from context extension through supervised trajectories to RL, the design of reproducible training environments, and reward design that resists reward hacking over long trajectories.
Machine LearningOnsite - HeadwayMediumSoftware EngineerBuild a Dual Fixed-Window Rate-Limiting Middleware
Tests your ability to design and implement a thread-safe, dual fixed-window rate limiter and integrate it cleanly as HTTP middleware in an asynchronous Python framework.
Software Engineering FundamentalsOnsiteFastAPIConcurrencyRate Limiting - HeadwayMediumSoftware EngineerDebug a Stale Insurance Eligibility Status
Tests your ability to resolve data staleness and synchronization bugs between denormalized cache records and immutable event snapshots, while establishing clear domain invariants and handling out-of-order writes.
Software Engineering FundamentalsOnsiteSystem DesignData ModelingConcurrency - HebbiaMediumSoftware EngineerDesign a Multi-Agent Chat Backend
This question evaluates a candidate's ability to design scalable, reliable backend architectures that integrate LLMs and multi-agent orchestration, covering distributed systems, streaming responses, conversation context management, tool integrations, observability, and secure handling of sensitive financial data.
System DesignOnsite - HebbiaHardMachine Learning EngineerDesign a Multi-Agent Document Search and Visualization Product
This problem tests your ability to design a complex multi-agent orchestration system that integrates large-scale document retrieval with reliable citation tracking and a user-facing visualization interface.
ML System DesignOnsiteMulti-Agent SystemsRAGOrchestration - HebbiaHardSoftware EngineerDetect a Winner on a 3x3 Tic-Tac-Toe Board
This problem tests your ability to efficiently represent board states and implement win-condition logic for a grid-based game.
Coding & AlgorithmsOnsiteArraysLogicGames - HebbiaMediumSoftware EngineerImplement a Cache Snapshot Printer
This question evaluates understanding of LRU cache semantics, data structures for maintaining recency and eviction, and techniques for serializing or compressing state by grouping identical values while preserving ordering.
Coding & AlgorithmsOnsite - HexMediumSoftware EngineerDesign a Notebook App That Synchronizes Notes
This question tests the ability to design a resilient client-server architecture for a collaborative editing application that must function reliably under network instability.
System DesignOnsiteOffline-firstSynchronizationConcurrency - HexMediumSoftware EngineerDesign an In-Flight Entertainment Experience for a Small Screen
This problem tests the ability to design a high-availability, accessible, and modular UI/UX system under significant physical and connectivity constraints.
System DesignOnsiteUI/UXEmbedded SystemsArchitecture - Hippocratic AiMediumSoftware EngineerDesign an hourly call-agent scheduler
This problem tests your ability to model resource scheduling under capacity constraints and optimize the assignment of tasks to workers over discrete time slots.
Software Engineering FundamentalsOnsiteGreedySchedulingData Structures