Katkat

practice a little every day, paws crossed ♡

Coding & Algorithms 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 3271–3276 of 3276 results

  • xAIHardSoftware Engineer
    Maximize distinct values after unique ± offsets

    This problem tests greedy strategy and sorting to determine the maximum possible count of distinct values in an array after applying exactly one offset from a given set of allowed integers to each element.

    Coding & AlgorithmsTechnical ScreenGreedySortingCombinatorics
  • xAIMediumSoftware Engineer
    Minimum Time to Run All Jobs with a Cooldown Between Identical Jobs

    This question evaluates understanding of scheduling constraints, frequency analysis, and time-complexity reasoning required to minimize total execution time under per-type cooldown restrictions.

    Coding & AlgorithmsOnsite
  • xAIEasySoftware Engineer
    Phone Keypad Predictive Text Suggestions

    This question evaluates understanding of string-to-digit encoding, prefix-based retrieval, and efficient preprocessing for fast query-time lookup in large dictionaries.

    Coding & AlgorithmsOnsite
  • xAIMediumSoftware Engineer
    Sort a Large Array Using Multiple Threads

    This question evaluates understanding of concurrent programming, parallel algorithm design, sorting algorithms, and merging techniques under multi-threaded execution, focusing on thread-safety, deterministic correctness despite scheduling variability, and performance trade-offs.

    Coding & AlgorithmsOnsite
  • xAIMediumSoftware Engineer
    Versioned Key-Value Store with Nested Transactions (Begin, Commit, Rollback)

    This question evaluates understanding of transactional state management, nested transactions, visibility semantics for set/delete operations, and efficient in-memory data-structure manipulation.

    Coding & AlgorithmsOnsite
  • xAIMediumSoftware Engineer
    Weighted LRU Cache: Capacity Counted by Item Quantity

    This question evaluates understanding of cache design and LRU eviction semantics with weighted resource accounting, plus data-structure and amortized-complexity reasoning needed to support O(1) average-time operations.

    Coding & AlgorithmsOnsite