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 7861–7890 of 9403 results

  • SnapchatMediumSoftware Engineer
    Stream Records into Clusters and Track Each Cluster's Maximum and Median

    Design and implement an in-memory component that assigns each record of a data stream to an existing or a new cluster and returns the maximum value of every cluster. Follow-ups probe read and write optimizations, concurrent ingestion, and how to report each cluster's median.

    Software Engineering FundamentalsOnsite
  • SnapchatHardMachine Learning Engineer
    What Happens When All Neural-Network Weights Start at Zero?

    Explain zero-weight initialization through hidden-unit symmetry and gradient flow, and contrast it with linear and logistic models.

    Machine LearningTechnical Screen
  • SnorkelMediumSoftware Engineer
    Design SnapshotMap with Sparse Histories and Constant-Time Snapshots

    Design an in-memory key-value store supporting point-in-time snapshots, sparse version histories, binary-search historical reads, tombstones, and write coalescing.

    Software Engineering FundamentalsTechnical Screendata-structuresbinary-searchsystem-design
  • SnowflakeMediumSoftware Engineer
    Adapt Throne Inheritance When Initialization Does Not Supply a King

    Design a throne inheritance system with an uninitialized monarch, handling dynamic root establishment, pre-order succession, and edge-case validation.

    Software Engineering FundamentalsTechnical Screentreedesigndfs
  • SnowflakeMediumSoftware Engineer
    Answer Repeated Lookup Queries Efficiently

    This problem tests binary search proficiency and the ability to optimize performance for repetitive computational tasks using memoization.

    Coding & AlgorithmsTechnical ScreenBinary SearchCachingEfficiency
  • SnowflakeEasySoftware Engineer
    Answer conflict, tight deadline, and mentorship prompts

    This Behavioral & Leadership question evaluates conflict resolution, prioritization and risk-communication under tight deadlines, and mentorship or coaching ability within cross-functional software engineering teams.

    Behavioral & LeadershipOnsite
  • SnowflakeMediumSoftware Engineer
    Assign Each Person the Nearest Cake in a One-Dimensional Row

    Given a one-dimensional row marking empty spots, people and cakes, return for each person the index of the nearest cake, breaking ties toward the smaller index. It tests linear scanning techniques for nearest-neighbor queries on a line and careful handling of ties and boundaries.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Behavioral Stories on Ownership, Ambiguity, Deep Dives and Conflict

    A behavioral round for an entry-level software engineer that probes four competencies: taking ownership, making progress under ambiguity, digging deep into a problem, and handling conflict with a colleague. It tests whether candidates give specific, structured stories with a clear personal role and concrete results.

    Behavioral & LeadershipOnsite
  • SnowflakeMediumSoftware Engineer
    Behavioral: Proudest Project, Conflict, and Failure

    This question assesses the candidate's ability to articulate professional experiences regarding personal growth, interpersonal navigation, and self-reflection. It focuses on how the candidate handles success, manages disagreement, and processes failure to iterate on their working style.

    Behavioral & LeadershipTechnical ScreenBehavioralSoft SkillsCommunication
  • SnowflakeHardSoftware Engineer
    Build a Tiered Rate Limiter With Runtime-Updatable Limits, Then Test and Scale It

    Build an in-memory rate limiting service in Python where clients belong to tiers such as free, pro and enterprise, tier limits change at runtime without a restart, and clients with missing or invalid tiers fall back to a global default policy. Follow-ups probe algorithm trade-offs, deterministic tests for refill timing, and a distributed design.

    Software Engineering FundamentalsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Build a Top-Down Reporting Forest from Employee-Manager Pairs

    Given employee-to-manager pairs of integer IDs, build the top-down reporting forest with every top-level manager as a root, and return it as a preorder listing of IDs and depths. Tests finding the roots, building child lists, deterministic sibling ordering, and handling long reporting chains.

    Coding & AlgorithmsOnsite
  • SnowflakeMediumSoftware Engineer
    Build a Tree Whose Nodes Hold the Original Tree's Subtree Sums

    Given a rooted tree as a parent array with a value on every node, return a same-shaped tree whose nodes hold the sum of each original subtree. It tests aggregating children before parents without hitting recursion limits, and leaving the original tree unchanged.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumData Scientist
    Build a cohort dashboard with Streamlit and SQL

    This question evaluates proficiency in cohort analysis using SQL window functions, time-based aggregation, ARPU calculation, and integration of data querying with a Streamlit visualization front end, including handling timezones and data-quality checks.

    Data Manipulation (SQL/Python)Onsite
  • SnowflakeMediumFrontend Engineer
    Build an Arrow-Controlled Kanban Board in React

    Design and implement a performant React Kanban board in TypeScript with normalized state and accessible arrow controls for shifting tasks across ordered columns at scale.

    Software Engineering FundamentalsTechnical Screenreacttypescriptfrontend
  • SnowflakeMediumSoftware Engineer
    Check Whether a Proposed Course Order Respects Every Prerequisite

    Given courses, prerequisite pairs and a proposed order, decide whether the order lists every course exactly once and places each course after all of its prerequisites. It tests position indexing, permutation checks and careful handling of missing or repeated courses.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeHardSoftware Engineer
    Check if each recipe is a contiguous subsequence

    This problem tests your ability to efficiently determine if one sequence exists as a contiguous segment within another using pattern matching techniques.

    Coding & AlgorithmsTechnical ScreenArraysKMP AlgorithmPattern Matching
  • SnowflakeHardSoftware Engineer
    Clarify and Prune an N-ary Tree to a Depth Limit

    This problem tests tree traversal techniques and recursive state management by requiring the pruning of an N-ary tree nodes based on a depth constraint while maintaining valid structural connectivity.

    Software Engineering FundamentalsTechnical ScreenTreesRecursionData Structures
  • SnowflakeMediumSoftware Engineer
    Collect a Binary Tree's Outer Boundary Values Anticlockwise

    Given a binary tree stored as child-index arrays, return its boundary values anticlockwise: the root, the left boundary, the leaves from left to right and the right boundary from bottom to top, whose total is the boundary sum. It tests precise traversal rules and edge cases.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Compute Effective Letter Permissions in a DAG

    Compute the effective lowercase letter permissions for every node in a directed acyclic graph (DAG), where granted permissions propagate transitively to all descendants while explicit denials apply only locally.

    Coding & AlgorithmsTechnical ScreenDAGtopological-sortbit-manipulation
  • SnowflakeMediumSoftware Engineer
    Compute Progressive Income Tax in Cents from Bracket Limits

    Given progressive tax brackets as upper limits with percentage rates and an income in whole dollars, return the total tax owed in cents. It tests careful handling of bracket boundaries, partly filled brackets and exact integer arithmetic instead of floating point.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Compute height after deletions; enumerate valid delete sets

    This question evaluates competence in binary tree manipulation and combinatorial search, covering promotion-based node deletion, height computation across forest components after root deletion, enumeration of deletion sets with deduplication, pruning strategies, and time/space complexity analysis.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeHardSoftware Engineer
    Compute height of tree with deleted nodes; minimize deletions

    This question evaluates understanding of tree data structures, connectivity after node deletions, and optimization for minimizing additional removals, and is categorized under Coding & Algorithms. It is commonly asked to assess reasoning about tree pruning and height computation under constraints, testing both conceptual understanding of tree properties and practical algorithmic implementation.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Compute shortest path between tree nodes

    Given a binary tree and two node values u and v, return the shortest path between them as an ordered list of node values. This Snowflake onsite question tests lowest-common-ancestor logic, path reconstruction, iterative vs. recursive implementation, complexity analysis, and preprocessing strategies (parent pointers, binary lifting, Euler tour + RMQ) for answering many queries efficiently.

    Coding & AlgorithmsOnsite
  • SnowflakeMediumSoftware Engineer
    Compute task order and layered execution

    This question evaluates a candidate's understanding of graph algorithms and dependency resolution, covering concepts such as topological ordering and cycle detection.

    Coding & AlgorithmsOnsite
  • SnowflakeMediumSoftware Engineer
    Compute task order with prerequisites

    This question evaluates proficiency in graph algorithms—particularly topological ordering and cycle detection—along with the use of efficient data structures for representing dependencies and analyzing time and space complexity.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Compute total time to finish all courses

    This problem tests your ability to model task dependencies using a directed graph and calculate the earliest completion time for all tasks, effectively identifying the critical path in a project schedule.

    Coding & AlgorithmsTechnical ScreenGraphTopological SortDynamic Programming
  • SnowflakeMediumData Scientist
    Contrast FCF vs NI; choose one statement

    This question evaluates financial statement analysis skills—specifically reconciling net income to free cash flow, identifying accounting and working-capital red flags, and selecting which single statement best informs credit risk, profitability trends, and cash runway, thereby testing valuation, solvency, and financial-modeling competency in the Statistics & Math domain. It is commonly asked because interviewers probe both conceptual understanding and practical application of accrual versus cash accounting, the effects of non‑cash charges, capex and working‑capital movements on valuation, and awareness of which metrics (for example FCF margin, interest coverage, and current ratio) become unreliable or unobtainable when only one statement is available.

    Statistics & MathTechnical Screen
  • SnowflakeMediumMachine Learning Engineer
    Core Components of LLM Agent Memory: What Each Stores and How It Is Written and Read

    Explain the common components of an LLM agent's memory, from the context window to session, episodic, semantic and procedural memory, and how each is written, retrieved and maintained. It tests agent architecture knowledge, context budgeting, conflict handling, forgetting and memory security.

    Machine LearningOnsite
  • SnowflakeHardSoftware Engineer
    Count a Distributed Tree with Nonblocking Messages

    This problem tests your ability to design a distributed protocol that ensures eventual consistency and message idempotency in a tree-based network without global synchronization.

    Software Engineering FundamentalsTechnical ScreenDistributed SystemsProtocolsTrees
  • SnowflakeMediumSoftware Engineer
    Count the Nodes of a Process Tree Using Only Asynchronous Messages

    Each node of a tree is a separate process that can only send asynchronous messages and block on receive; write the logic that lets the root learn how many nodes exist. Follow-ups cover lost and duplicated messages, retries and idempotency, and how to structure a result that may be incomplete.

    Software Engineering FundamentalsTechnical Screen