Katkat

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 3031–3060 of 3640 results

  • SalesforceEasyBackend Engineer
    Design a Chat Analytics Backend

    This question evaluates a candidate's competence in designing large-scale analytics backends, covering data ingestion, event and metric schemas, near-real-time and historical analytics, metric computation and slicing, data freshness and deduplication, privacy and access control, operational monitoring, and the API/query layer.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Coffee-Shop Order-Management System

    Design a distributed order-management system for a multi-location coffee shop chain, focusing on transactional order states, menu snapshotting, idempotent payment processing, and resilient preparation workflows.

    System DesignOnsitesystem-designdistributed-systemspayments
  • SalesforceMediumSoftware Engineer
    Design a Concurrent Car Reservation Service

    Design a concurrent car reservation service with availability search, temporary holds, confirmation, cancellation, and status lookup. Explain interval conflicts, atomic inventory claims, retry safety, hold expiry, stale search results, substitutions, partitioning, and double-booking prevention.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Multi-Tenant Enterprise Messaging System

    Design a multi-tenant enterprise messaging system with direct messages, multiple channel types, durable history, real-time delivery, offline catch-up, search, presence, and read positions. Explain ordering, permissions, fan-out, storage, and strict tenant isolation.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Multi-Vendor Integration Platform

    Design a multi-vendor integration platform for authorized actions and inbound events across providers with different APIs. Define an extensible connector contract, secure credential handling, durable retries, rate isolation, webhook and polling ingestion, deduplication, and schema evolution.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Ride-Hailing Platform: Driver Matching, Surge Pricing and Ride Acceptance

    Design the core of a ride-hailing platform, covering driver location ingestion, matching riders with nearby drivers, the offer and acceptance flow with timeouts and reassignment, and surge pricing per area. It tests geospatial indexing, state machines and consistency under concurrent updates.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Scalable Notification Service

    Design an enterprise-grade, multi-channel notification platform capable of handling billions of notifications with durable ingestion, dynamic user preference filtering, idempotency, rate limits, and pluggable delivery providers.

    System DesignOnsiteDistributed SystemsMessage QueuesRate Limiting
  • SalesforceMediumSoftware Engineer
    Design a Synchronized Watch Party System (LLD)

    Design a low-level object-oriented system for real-time synchronized video playback among multiple participants. The challenge tests class design, state synchronization protocols, and handling of network latency and clock drift.

    System DesignOnsiteLow-Level DesignObject-Oriented DesignReal-Time Systems
  • SalesforceMediumSoftware Engineer
    Design a URL-Shortening Service

    Design short-link creation and redirects with unique identifiers, durable mappings, caching, expiration, and explicit multi-region consistency choices.

    System DesignOnsite
  • SalesforceMediumSoftware Engineer
    Design a Venue Rental and Booking System (HLD)

    Design a high-level architecture for a venue rental marketplace, focusing on inventory availability modeling, concurrency control to prevent double-booking, and resilient schema and API design under read-heavy traffic.

    System DesignOnsiteDistributed SystemsDatabase DesignConcurrency
  • SalesforceMediumSoftware Engineer
    Design a pipeline orchestration system on Kubernetes

    This question tests the ability to design a container-orchestrated workflow system that manages dependencies, task execution, and system reliability.

    System DesignOnsiteKubernetesDistributed SystemsWorkflow Orchestration
  • SalesforceMediumSoftware Engineer
    Design a scalable coffee ordering notification system

    This problem tests your ability to design a distributed, asynchronous notification system capable of handling high-throughput order status updates and ensuring reliable message delivery to end users.

    System DesignOnsiteScalabilityAsynchronousMessaging
  • SalesforceMediumMember of Technical Staff
    Design an Idempotent Payment Processing Platform

    Design a resilient payment platform that guarantees zero duplicate charges and safely resolves ambiguous downstream gateway timeouts.

    System DesignOnsiteDistributed SystemsPaymentsIdempotency
  • SalesforceMediumSoftware Engineer
    Design an analytics dashboard for an AI chat app

    This question tests the ability to architect a scalable observability pipeline for high-throughput AI chat interactions, focusing on metrics ingestion, data aggregation, and multi-dimensional query performance.

    System DesignOnsiteAnalyticsScalabilityOLAP
  • SalesforceMediumSoftware Engineer
    Diameter of an Undirected Tree

    Tests your ability to traverse an unrooted, undirected tree to compute its diameter (longest simple path) in linear time and space.

    Coding & AlgorithmsOnsitetreegraphbfs
  • SalesforceMediumMachine Learning Engineer
    Explain ML and LLM fundamentals

    This question evaluates understanding of core machine learning and LLM competencies including evaluation metrics (F1 vs accuracy), differences between classification and regression, fair benchmarking, inference pipeline bottlenecks and optimization, productionization of AI services, and modern LLM concepts such as the Transformer architecture, context engineering, retrieval-augmented generation, grounding, and guardrails. It is commonly asked in Machine Learning interviews to assess both conceptual understanding and practical application, probing the candidate's ability to reason about evaluation trade-offs, system-level performance constraints, and deployment considerations rather than only algorithmic detail.

    Machine LearningOnsite
  • SalesforceMediumMember of Technical Staff
    Explain the Recursion Tree of Merge Sort

    Explain the merge sort recursion tree from a five-element example through the general recurrence. Derive per-level work, uneven split height, Theta(n log n) time, merge-buffer space, call-stack depth, stability, and empty-input handling.

    Software Engineering FundamentalsOnsite
  • SalesforceMediumSoftware Engineer
    Find a Celebrity from a Knows Matrix

    Find a celebrity in a knows matrix with linear candidate elimination followed by complete verification that the candidate knows nobody and is known by everyone else.

    Coding & AlgorithmsOnsite
  • SalesforceMediumSoftware Engineer
    Find a Valid Task Execution Order with Dependencies

    Tests the ability to model workflow dependencies as a directed graph, perform topological sorting, and detect cycles.

    Coding & AlgorithmsOnsitegraphtopological-sortbfs
  • SalesforceMediumSoftware Engineer
    Find the Kth Smallest Value in a Binary Search Tree

    Return the one-based kth smallest value from a potentially deep binary search tree represented by parallel value and child-index arrays. Handle empty trees and out-of-range values of k using the specified sentinel.

    Coding & AlgorithmsOnsite
  • SalesforceMediumSoftware Engineer
    Find the Lowest Common Ancestor Using Parent Pointers

    Find the lowest common ancestor of two nodes in an acyclic forest represented only by parent pointers. Return the node itself for equal inputs and minus one when the nodes belong to different trees.

    Coding & AlgorithmsOnsite
  • SalesforceMediumSoftware Engineer
    Flatten Nested Objects and Lists into Full Leaf Paths

    Implement an iterative traversal to flatten nested dictionaries and lists into fully-qualified paths leading only to string leaf values, returned in deterministic sorted order.

    Coding & AlgorithmsOnsiteDepth-First SearchStackRecursion
  • SalesforceMediumSoftware Engineer
    Generate Every Generalized Abbreviation of a Word

    Generate every generalized abbreviation of a lowercase word by replacing selected character runs with positive counts. Merge consecutive skipped characters correctly and return the complete result in lexicographic order.

    Coding & AlgorithmsOnsite
  • SalesforceMediumSoftware Engineer
    Going Above and Beyond: Helping Others and Exceeding What Was Expected

    Two behavioral prompts on going above and beyond: helping a colleague or team beyond what your role required, and delivering more than was expected on your own work. It assesses initiative, judgment about cost and scope, and impact that lasts beyond the single situation.

    Behavioral & LeadershipOnsite
  • SalesforceMediumSoftware Engineer
    Help a Colleague Resolve a Difficult Problem

    Describe a specific time you helped a colleague solve a difficult problem while preserving their ownership. Show how you understood the need, contributed respectfully, and created a lasting benefit for the colleague or team.

    Behavioral & LeadershipOnsite
  • SalesforceMediumSoftware Engineer
    Hiring Manager Round: Current Work, Motivation for Salesforce and Keeping Up with AI

    A hiring-manager conversation covering your current role and the progress on your current project, why you want to leave your company and join Salesforce, and how you keep up with AI developments. It assesses scope and impact, researched motivation and practical judgment about AI tools.

    Behavioral & LeadershipOnsite
  • SalesforceMediumMember of Technical Staff
    Implement Merge Sort and Return a Sorted Array

    Tests your ability to implement a classic divide-and-conquer merge sort algorithm from scratch, maintaining stability and achieving O(n log n) time complexity without relying on built-in sorting utilities.

    Coding & AlgorithmsOnsitesortingdivide-and-conquerrecursion
  • SalesforceHardSoftware Engineer
    Implement an LFU cache

    This question evaluates understanding of data structures and cache eviction policies, specifically frequency tracking for LFU caches and LRU tie-breaking among equal-frequency items.

    Coding & AlgorithmsOnsite
  • SalesforceMediumSoftware Engineer
    Implement an LFU cache with O(1) operations

    This problem tests your ability to maintain multiple layers of linked data structures to achieve O(1) time complexity for both access and eviction in an LFU (Least Frequently Used) cache.

    Coding & AlgorithmsOnsiteData StructuresHash MapDoubly Linked List
  • SalesforceMediumSoftware Engineer
    Implement common data-structure and JS tasks

    This problem tests your ability to design a time-aware data structure, manipulate linked structures, and demonstrate mastery over JavaScript's asynchronous execution model and functional programming patterns.

    Coding & AlgorithmsOnsiteData StructuresLinked ListsJavaScript