READ. UNDERSTAND. PRACTICE.
Prepare for your next interview.
Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.
20,926 resources · Page 853 of 872
Interview questions · Uber
Find Robots by Nearest-Blocker Distances
Locate every robot whose left, top, bottom, and right distances to the nearest blocker or grid boundary match a four-value query.
Interview questions · Meta
Find shortest path and compare BFS vs DFS
This question evaluates understanding of graph traversal and shortest-path concepts, specifically the differences between BFS and DFS, algorithmic complexity analysis, and adaptation for weighted graphs within the coding & algorithms domain.
Interview questions · Meta
Find target using robot movement API
This question evaluates a candidate's ability to design exploration and state-space search strategies for a robot operating in an unknown, partially blocked 2D grid using a constrained movement and sensing API, testing competency in traversal algorithms, state management, and handling limited observability.
Interview questions · Salesforce
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.
Interview questions · Roblox
Find the Longest Safe Straight-Line Movement on a Laser Grid
Find a robot's longest safe straight-line movement on a laser-covered grid, where only the initial cell is protected and laser rows and columns are blocked.
Interview questions · Adobe
Find the Lowest Common Ancestor Only When Both Nodes Exist
Return the lowest common ancestor of two target values only when both are present in a potentially skewed binary tree. Handle absent targets, equal targets, empty input, and cases where one target is the ancestor.
Interview questions · Salesforce
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.
Interview questions · Apple
Find top-k frequent elements efficiently
This question evaluates algorithmic and data-structure skills, focusing on frequency counting, heap-based selection, streaming updates, and time/space complexity analysis within the Coding & Algorithms domain.
Interview questions · Meta
Find top-K frequent elements in a stream
This question evaluates understanding of streaming algorithms, frequency estimation, and data-structure-based top-K selection, emphasizing space/time and accuracy trade-offs when processing large or unbounded data.
Interview questions · TikTok
Find top-k rated nodes via traversal
This question evaluates understanding of graph traversal combined with streaming top-k selection, testing competencies in graph algorithms, data structure choice (e.g., visited sets and bounded heaps), tie-breaking, and reachable-node enumeration within the Coding & Algorithms domain.
Interview questions · Capital One
Fix failing tests and refactor code
This question evaluates a candidate's ability to debug, test, and refactor Python code with attention to state management, mutable default arguments, deterministic unit testing, API design, and type-safety.
Interview questions · Salesforce
Flatten Nested Objects and Lists into Full Leaf Paths
Traverse nested maps and lists with a stack, include every parent key and list index, and return deterministically ordered paths to string leaves.
Interview questions · Uber
Formulate OR model to reduce driver backtracking
This question evaluates skills in defining a quantitative driver-backtracking metric from GPS and assignment logs, detecting and validating backtracking segments, and formulating constrained optimization models for dispatch and repositioning, drawing on statistics, operations research, and stochastic optimization.
Interview questions · Pinduoduo
Generate a Spiral Matrix
Generate an n by n matrix filled with the integers from 1 through n squared in clockwise spiral order, following the cited problem.
Interview questions · TikTok
Generate all safe queen placements on board
This question evaluates algorithm design for constraint-satisfaction problems, testing skills in search, recursion, backtracking, combinatorics, and state-space pruning.
Interview questions · Bloomberg
Generate all strings by expanding wildcards
This question evaluates algorithmic string manipulation and combinatorial enumeration skills, focusing on handling wildcard characters and generating all possible binary outcomes from a pattern.
Interview questions · Coinbase
Generate constrained NFT metadata
Generate constrained NFT metadata evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Interview questions · Meta
Generate unique permutations with duplicates
This question evaluates a candidate's understanding of permutation generation and duplicate handling within algorithm design, testing combinatorial reasoning, correctness proofs, and time/space complexity analysis.
Interview questions · Meta
Group a tree by vertical columns
This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Group a tree by vertical columns states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Interview questions · DoorDash
Handle a payment-service incident with resource spikes
Handle a payment-service incident with resource spikes evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Interview questions · UiPath
Handle Ambiguity in the Workplace
This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Handle Ambiguity in the Workplace states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Interview questions · Capital One
Handle an irate passenger after flight delay
This question evaluates crisis communication, conflict de-escalation, resource-constrained decision-making, cross-functional coordination, and metrics definition for operational recovery, presented for a Data Scientist and categorized under Behavioral & Leadership.
Interview questions · Meta
Handle conflict and missed delivery deadlines
This question evaluates interpersonal competencies such as conflict resolution, relationship management, communication, ownership, and accountability in scenarios involving missed delivery deadlines and team dynamics.
Interview questions · Walmart Labs
Handle conflict and motivate engineering teams
This question evaluates leadership competencies including conflict resolution, stakeholder management, and team motivation, emphasizing interpersonal decision-making and balancing technical quality with timelines.