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 3781–3810 of 4616 results

  • SnowflakeMediumSoftware Engineer
    Explain a Technical Project from Milestone to Production

    Explain a technical project from background and ownership through a major milestone, launch problems, production validation, and lessons learned.

    Behavioral & LeadershipTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Fewest Buses Needed to Cover Every Scheduled Trip

    Given scheduled trips with start and end times, return the fewest buses needed so that no bus runs two trips at once, where a bus may start a trip the moment its previous one ends. It tests reasoning about maximum interval overlap and boundary handling.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Fewest Link Clicks Between Two Wiki Pages, Then Scale the Search

    Find the fewest link clicks between two wiki pages when each page's links come from a slow fetch call, returning the path. Follow-ups cover parallel level-by-level search, bidirectional search with a correct stopping rule, and caching fetched link lists across searches.

    Software Engineering FundamentalsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Fewest Node Additions and Removals to Make a Binary Tree Perfect

    Given a binary tree described by left and right child arrays, return the fewest single-node additions and leaf removals that turn it into a perfect binary tree, which is 0 exactly when it is already perfect. Tests tree traversal and reasoning about tree shape, including very deep, skewed trees.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Fewest Semesters to Finish All Courses Taking At Most k per Semester

    Given up to fifteen courses with prerequisites and a cap of k courses per semester, return the fewest semesters needed to take every course. It tests why simple greedy choices fail and how to search the space of partial plans efficiently.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Filter hierarchical paths after deletions

    This question evaluates proficiency in hierarchical string processing, prefix-based filtering, edge-case handling (duplicates, trailing slashes, empty inputs), data-structure selection, and algorithmic time/space complexity analysis within the Coding & Algorithms domain, emphasizing practical implementation over purely conceptual reasoning.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeHardSoftware Engineer
    Find Every Three-Card Set Among Cards With Four Attributes

    A coding problem based on a card game in which each card has four attributes with three values each, and three cards form a set when every attribute is all the same or all different. It asks for every set among a group of distinct cards, testing the validity rule, canonical output ordering and improving on a cubic brute force.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Find Shortest Grid Path

    This question evaluates a candidate's ability to implement and reason about grid-based shortest-path algorithms, covering graph traversal, state representation, and obstacle handling.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Find Shortest Wiki Click Path

    This question evaluates understanding of graph traversal and shortest-path concepts, testing competencies in algorithm design, handling cycles, complexity analysis, and integration with external link-retrieval APIs.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Find Tree Height After Deleting Nodes and Promoting Children

    Compute tree height after deleting nodes while promoting their children, preserving descendants and counting retained nodes without rebuilding the tree.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Find the Minimum Bus Fleet with Station Constraints

    Minimize a bus fleet when trips have origin and destination stations, tracking when buses become available at the correct departure station.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Find the Minimum Fleet for a Bus Timetable

    Find the minimum number of buses needed for a timetable by tracking overlapping trips and allowing reuse at equal arrival and departure times.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Find the Nearest Target Character and Support Streaming Updates

    Design a data structure that tracks characters in a dynamic string, supporting streaming appends, character updates, and fast queries for the distance to the nearest target character.

    Coding & AlgorithmsTechnical Screendata-structuresbinary-searchdesign
  • SnowflakeMediumSoftware Engineer
    Find the Shortest Click Path with a Fallible Link API

    Implement a breadth-first search to find the shortest URL click path between two pages using a fallible link-fetching API with retry and tie-breaking logic.

    Software Engineering FundamentalsTechnical Screenbfsgrapherror-handling
  • SnowflakeMediumSoftware Engineer
    Find the Winner of a Connect Four Game from Its Move Sequence

    Given a board size and the sequence of columns two players drop pieces into, return which player first lines up four pieces horizontally, vertically or diagonally, or 0 if nobody does. It tests grid simulation, gravity placement and careful line counting in all four directions.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Height of an N-ary Tree After Deleting Nodes and Promoting Their Children

    Given an N-ary tree as a parent array and a set of nodes to delete, where each deleted node's children are promoted to its nearest surviving ancestor, return the height of the resulting tree. It tests tree traversal over a parent array and careful reasoning about how deletions change depths.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Highest Total Profit from Non-Overlapping Jobs When Endpoints May Touch

    Each job has a start time, an end time and a profit; choose jobs that do not overlap, where one job may start exactly when another ends, to maximize the total profit. It tests weighted interval scheduling and handling touching endpoints correctly.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeHardData Scientist
    Implement DFS with cycle detection and topo order

    This question evaluates mastery of graph algorithms—specifically depth-first search (both recursive and iterative), directed cycle detection, topological ordering, and discovery/finish timestamping—and falls under the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeHardSoftware Engineer
    Implement a JSON Parser

    This problem tests your ability to implement a recursive-descent parser for a subset of the JSON format, focusing on string manipulation, state management, and hierarchical data structure construction.

    Coding & AlgorithmsTechnical ScreenParsingRecursionString Processing
  • SnowflakeMediumFrontend Engineer
    Implement an event emitter

    This problem tests your understanding of the observer pattern, internal state management using maps, and the ability to handle edge cases in listener lifecycle management.

    Coding & AlgorithmsTechnical ScreenJavaScriptDesign PatternsEvent-Driven
  • SnowflakeHardSoftware Engineer
    Implement course scheduling and rate limiter analysis

    This combined question evaluates proficiency in graph-based dependency reasoning (cycle detection and course scheduling) and time-series request processing (rate-limiter behavior and sliding-window request counting) within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Implement topological sort and tree boundary traversal

    These tasks evaluate core competencies in directed graph algorithms (topological ordering and cycle detection) and binary tree traversals (boundary identification and leaf enumeration), testing understanding of dependency modeling and traversal patterns.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    In-Memory Key-Value Store with Constant-Time Nested Transactions

    Build an in-memory key-value store with get, set and delete plus nested begin, commit and rollback, aiming for constant-time operations. Follow-ups extend it to concurrent threads, keys with a time to live, and reads of a key's value at an earlier point in time.

    Software Engineering FundamentalsTechnical Screen
  • SnowflakeMediumData Scientist
    Lead innovation and automate a critical process

    This question evaluates leadership and technical program management competencies for a Data Scientist, including end-to-end innovation, cross-functional stakeholder alignment, risk identification and mitigation, trade-off rationale, measurable impact assessment, and process automation architecture and maintainability.

    Behavioral & LeadershipTechnical Screen
  • SnowflakeMediumSoftware Engineer
    List the Nodes on the Path Between Two Nodes of a Binary Tree

    Given a binary tree stored as child-index arrays and two node indices, return the nodes on the unique path between them, from the first node to the second. It tests parent tracking, ancestor reasoning and handling cases where one node lies above the other.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeHardSoftware Engineer
    Maximize revenue by choosing one query type

    This problem tests greedy optimization and modular arithmetic skills to determine the most profitable query strategy given a limited time window.

    Coding & AlgorithmsTechnical ScreenGreedyMathOptimization
  • SnowflakeHardSoftware Engineer
    Minimize coins with overpay and change

    This problem tests your ability to optimize combinatorial decisions under constraints by identifying a greedy approach with a fallback to search or dynamic programming.

    Coding & AlgorithmsTechnical ScreenDynamic ProgrammingOptimizationAlgorithms
  • SnowflakeMediumSoftware Engineer
    Minimum Months to Finish All Courses with Durations and Unlimited Parallelism

    Courses take different numbers of months, some must finish before others start, and any number can run in parallel; return the minimum time to finish them all. It tests longest-path reasoning on a directed acyclic graph processed in topological order.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Minimum Node Deletions to Bring an N-ary Tree's Height Within k

    Given an N-ary tree as a parent array and a limit k, find the fewest non-root nodes to delete, promoting each deleted node's children to its nearest surviving ancestor, so that the tree's height is at most k. It tests reasoning about root-to-leaf paths and choosing deletions that shorten many paths at once.

    Coding & AlgorithmsTechnical Screen
  • SnowflakeMediumSoftware Engineer
    Minimum Prunes to Bring a Filesystem Tree's Depth Under a Limit

    Given a directory tree where deleting a node reattaches its children to its own parent, find the minimum number of deletions needed to bring the deepest root-to-leaf path down to a given limit. Tests a budget-passing tree DP where deleting a node changes how much depth its children inherit.

    Coding & AlgorithmsTechnical Screentreesdynamic-programmingrecursion