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 3061–3090 of 3640 results
- SalesforceMediumSoftware EngineerMinimize operations to reduce integer to zero
This problem tests your ability to optimize mathematical transformations on an integer using greedy strategies or dynamic programming by analyzing the parity and binary representation of the input.
Coding & AlgorithmsOnsiteGreedyBit ManipulationRecursion - SalesforceMediumSoftware EngineerMinimum Sum of Weekly Maximum Costs
Partition an array of daily costs into k contiguous weeks to minimize the sum of each week's maximum cost using dynamic programming.
Coding & AlgorithmsOnsiteDynamic ProgrammingArrayMonotonic Stack - SalesforceMediumMember of Technical StaffTrack Top-K Frequent Elements from an Unbounded Stream
Tests the ability to architect a distributed streaming system for continuous top-k frequent element tracking over unbounded data streams, evaluating trade-offs between exact counts and probabilistic heavy-hitter algorithms under scale, state management, and fault-tolerance constraints.
System DesignOnsitesystem-designstreamingtop-k - SalesforceMediumSoftware EngineerValidate a Generalized Word Abbreviation
Validate whether a lowercase word matches a generalized abbreviation whose positive numbers skip characters. Enforce exact letter matching, full consumption, multi-digit counts, and the prohibition on leading zeroes.
Coding & AlgorithmsOnsite - SalesforceMediumSoftware EngineerWalk Through the Architecture of the Project You Work on Now
A design-round prompt asking you to walk through the architecture of the project you currently work on: its purpose, components, request and data flows, technology choices, scale and failure handling, and your own part in it. It assesses clarity, ownership and depth under probing.
System DesignOnsite - Salient AiHardSoftware EngineerFind Duplicate Files by Content with Efficient I/O
Find content-identical files with size filters, streaming digests, exact collision checks, bounded I/O, and explicit handling of changing or unreadable files.
Software Engineering FundamentalsOnsite - SamsaraMediumMachine Learning EngineerDiscuss salary expectations
This question evaluates a candidate's ability to communicate compensation expectations, justify a targeted base salary through market benchmarking and assumptions, and articulate openness to trade-offs for a Machine Learning Engineer role.
Behavioral & LeadershipOnsite - SamsaraMediumMachine Learning EngineerExplain LLM training and evaluation
This question evaluates an engineer's competency in LLM engineering, including transformer pretraining and finetuning, alignment approaches like instruction tuning and RLHF, strategies for reducing hallucinations, evaluation and production monitoring practices, and inference optimizations.
Machine LearningOnsite - SamsungMediumMachine Learning EngineerMaximize sum of non-adjacent values
This question evaluates algorithmic problem-solving skills, specifically understanding of dynamic programming and optimization when selecting non-adjacent elements, within the Coding & Algorithms domain.
Coding & AlgorithmsOnsite - Scale AIEasySoftware EngineerAnswer common project leadership questions
This question evaluates ownership, self-awareness, communication, prioritization, and growth mindset through prompts about proud projects, responses to feedback, time-pressured work, side projects, and personal strengths and weaknesses.
Behavioral & LeadershipOnsite - Scale AIEasyBackend EngineerBuild a CSV-to-JSON Classification Service
Implement a resilient data pipeline service that parses CSV records, enriches them using an external classification client with validation and retries, and writes ordered, structured JSON Lines output safely.
Software Engineering FundamentalsOnsiteData PipelinesConcurrencyError Handling - Scale AIMediumSoftware EngineerCompute party time blocks per neighborhood
This question evaluates a candidate's ability to perform interval merging and temporal aggregation across joined datasets, testing algorithmic efficiency, data-processing skills, and handling of sorting and grouping in the Coding & Algorithms domain.
Coding & AlgorithmsOnsite - Scale AIMediumSoftware EngineerDebug a Project Assignment Codebase
Tests your ability to manage state, enforce filtering rules, and maintain clean public API contracts in an asynchronous or stateful task assignment system.
Software Engineering FundamentalsOnsiteSystem DesignData StructuresState Management - Scale AIMediumSoftware EngineerDesign CSV upload endpoint with GPT classification
Implement a backend processing pipeline that parses an uploaded CSV file, enriches each text record via an external classification client, and persists structured results to a local JSON store.
Software Engineering FundamentalsOnsitePythonAPI DesignData Parsing - Scale AIEasyBackend EngineerDesign a Durable Task Scheduling Service
Design a resilient, distributed task scheduling service that decouples scheduling from execution, supporting both delayed one-time tasks and recurring cron jobs with strong durability and at-least-once delivery.
System DesignOnsiteDistributed SystemsTask SchedulerConcurrency - Scale AIEasySoftware EngineerDesign an LLM API pipeline
This question evaluates competency in integrating hosted LLMs into user-facing applications, including API request design, prompt engineering for structured output, output validation, latency and failure handling, and production readiness.
ML System DesignOnsite - Scale AIMediumSoftware EngineerDesign pipeline using classification and embedding services
This question evaluates a candidate's proficiency in ML system design, covering API design, service orchestration, data storage modeling, scalability strategies, and reliability/observability when integrating black-box classification and embedding services.
ML System DesignOnsite - Scale AIEasyMachine Learning EngineerExplain LLM post-training methods and tradeoffs
This question assesses the candidate's understanding of the LLM post-training pipeline, specifically how to transition a foundation model into a helpful, safe assistant through various alignment techniques.
Machine LearningOnsiteLLMAlignmentRLHF - Scale AIEasyMachine Learning EngineerHandle customer engagement and manager-rating questions
This question evaluates stakeholder management, leadership principles, conflict-resolution skills, and self-awareness, emphasizing interpersonal communication, influence, and accountability.
Behavioral & LeadershipOnsite - Scale AIEasyMachine Learning EngineerImplement multi-head attention and LLM sampling
This problem tests your ability to implement the core mechanics of a Transformer's attention mechanism and the logic required to sample the next token from a model's output logits.
Coding & AlgorithmsOnsiteTransformersDeep LearningNumPy - Scale AIEasySoftware EngineerPresent a Metrics-Driven Technical Project
Tests your ability to present a past technical initiative clearly to peers, articulating technical architecture, quantifiable metrics, personal ownership, and real-world tradeoffs.
Behavioral & LeadershipOnsitebehavioralsystem architectureproject deep-dive - SchwabEasyJava DeveloperExplain Spring Dependency Injection and Choose an Injection Style
Tests core knowledge of Spring's Inversion of Control (IoC) container, trade-offs between constructor, setter, and field injection, bean lifecycle, and dependency resolution strategies.
Software Engineering FundamentalsOnsiteJavaSpringDependency Injection - SchwabEasyJava DeveloperReview a Spring REST Controller for Correctness and Per-Request Waste
Analyze a flawed Spring Boot REST controller to identify anti-patterns, HTTP status code misuses, concurrency hazards, and unnecessary per-request object allocations. Refactor the implementation to follow production-grade enterprise standards.
Software Engineering FundamentalsOnsiteJavaSpring BootREST API - ScribdMediumSoftware EngineerBehavioral: Reason for Leaving, Proudest Project, Handling Ambiguity, and a Trade-off
This set of behavioral prompts evaluates a candidate's self-awareness, project ownership, adaptability under uncertainty, and technical pragmatism.
Behavioral & LeadershipOnsiteBehavioralLeadershipCommunication - ScribdMediumSoftware EngineerMany-to-Many Schema Design With a Join Table, Composite Primary Key, and Queries
Design a relational schema modeling a many-to-many relationship between documents and tags using a join table with a composite primary key, index both lookup directions, and write queries handling outer joins and relational division.
Data Manipulation (SQL/Python)OnsiteSQLDatabase DesignPostgreSQL - ScribdMediumSoftware EngineerMost Popular Actors Query When Object IDs Mix Movies and People With Multiple Roles
A data query question about ranking the most popular actors when an object ID can refer to either a movie or a person, and one person can hold several roles in the same movie. It tests clarifying the popularity metric, filtering to actor credits, deduplicating person and movie pairs, checking object types, and defining a tie policy.
Data Manipulation (SQL/Python)Onsite - ScribdMediumSoftware EngineerProduct Event Tracking and Analytics Pipeline With Flexible Schema and Retention
This question tests the architectural design of a scalable event-tracking pipeline capable of handling heterogeneous JSON schemas, choosing appropriate storage tiers for analytical queries, and managing data lifecycle policies.
System DesignOnsiteData PipelineSchema DesignStorage - ScribdMediumSoftware EngineerProduction-Ready Event Ingestion Handler: Validation, Idempotent Writes, DLQ, Metrics
Tests your ability to write production-grade ingestion code that enforces strict schema validation, guarantees idempotent persistence, handles retries and Dead-Letter Queue (DLQ) routing, and emits operational metrics.
Software Engineering FundamentalsOnsitedata-pipelinesvalidationsystem-reliability - SealthEasyMachine Learning EngineerImplement one-cluster k-means
This question tests the ability to implement a one-cluster k-means algorithm (finding the geometric centroid) and understanding of the mathematical property that minimizes sum of squared errors.
Coding & AlgorithmsOnsiteK-MeansClusteringStatistics - SealthEasyMachine Learning EngineerRepresent k-means as an MLP
This question tests the conceptual mapping between the distance-based assignment step of k-means clustering and a single-layer neural network architecture.
Machine LearningOnsiteK-MeansNeural NetworksLinear Algebra