READ. UNDERSTAND. PRACTICE.
Coding questions
Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.
1,899 resources · Page 64 of 80
Coding questions · Salesforce
Remove duplicates in linked list
This question evaluates proficiency in linked list manipulation, duplicate detection and removal, and algorithmic complexity analysis for both sorted and unsorted data.
Coding questions · Upstart
Remove Duplicates While Preserving First-Appearance Order
Return each array value once in its original first-appearance order, using membership tracking without sorting the result.
Coding questions · Meta
Remove minimum invalid mixed brackets
This Coding & Algorithms problem evaluates string-processing and bracket-matching skills, specifically understanding of stack-based parsing, handling multiple bracket types, and minimizing removals while preserving non-bracket characters.
Coding questions · Attentive
Remove Repeated Character Groups
This question evaluates proficiency in string manipulation, algorithmic thinking, and efficient use of data structures for handling contiguous character groups and iterative reductions.
Coding questions · Meta
Remove runs of length at least k
This question evaluates string manipulation, run-length detection, and algorithmic efficiency, focusing on tracking and removing maximal contiguous character groups. It is commonly asked in the Coding & Algorithms domain to assess practical application–level skills in designing linear-time, linear-space implementations that handle dynamic sequence collapses using appropriate data structures.
Coding questions · TikTok
Remove the Fewest Overlapping Intervals
Find the minimum number of intervals to remove so the remaining set has no overlaps, while allowing intervals to touch at endpoints. The problem covers duplicate intervals, negative coordinates, stable overlap semantics, and large-input complexity.
Coding questions · Snapchat
Remove the Maximum Number of Connected Stones
Find the maximum stones removable when each move requires another remaining stone in the same row or column. The prompt defines unique coordinates, transitive connectivity, bounded inputs, and exact connected and isolated examples for later cross-language console verification.
Coding questions · Snapchat
Render an Organization Chart and Find Skip-Level Pairs
Build and render an organization tree with ordered indentation, infer its root, and return exactly two-level manager-descendant pairs.
Coding questions · Amperity
Render Overlapping Rectangles on an ASCII Canvas
Render bordered and filled rectangles onto a fixed ASCII canvas, clipping safely and honoring input-order overwrites. Handle negative coordinates, fully hidden shapes, one-cell dimensions, trailing spaces, overlap behavior, and a canvas of up to one million cells.
Coding questions · Capital One
Reorder a String by Alternating Its Front and Back Characters
Rearrange a string by taking characters alternately from its front and its back: first, last, second, second-to-last and so on until every character is used once. Tests clean index handling for even and odd lengths and building the result efficiently for long inputs.
Coding questions · Meta
Resolve a cd Path Against the Current Directory
Implement simplified Unix-style cd path resolution for absolute and relative inputs containing repeated separators, dot components, and parent-directory steps. The challenge focuses on component semantics, root boundaries, empty arguments, exact normalization, and linear processing of long paths without filesystem lookups.
Coding questions · Instacart
Resolve a Variable Through Literal and Reference Assignments
Resolve a target variable through an acyclic chain of named assignments until reaching an integer literal, independent of definition order.
Coding questions · Meta
Resolve Ties for Top-10 Users in SQL Query
This question evaluates proficiency in SQL ranking and tie-resolution techniques for generating deterministic top-N leaderboards, focusing on handling identical scores while producing an exact set of rows.
Coding questions · Meta
Retrieve Ad Metrics and Rates for Last 7 Days
This question evaluates proficiency in SQL-based data manipulation including joins, conditional aggregation, time-based filtering, and computation of advertising metrics such as impressions, clicks, CTR, and conversion rate.
Coding questions · Meta
Retrieve Top Five Ads by Conversions in 30 Days
This question evaluates a candidate's competency in SQL data manipulation, specifically aggregating event data and applying time-window filters to produce ranked metrics.
Coding questions · Uber
Return a Package Build Order
This question evaluates a candidate's skills in dependency resolution, graph traversal and cycle detection while reasoning about an externally discovered dependency subgraph and ordering constraints.
Coding questions · Meta
Return all root-to-leaf path sums
This question evaluates competency in binary tree traversal and path-state accumulation, focusing on the ability to compute sums along root-to-leaf paths while handling edge cases like empty trees and negative values.
Coding questions · Waymo
Return All Words Matching Each Prefix From a Word List
Build a structure over a word list that answers prefix queries, returning every distinct word that starts with each prefix in lexicographic order. Tests prefix-tree design, deduplication, and answering many queries without rescanning the whole list.
Coding questions · Meta
Return count and renewal percentage of unreturned good copies
This question evaluates proficiency in SQL data manipulation, including conditional filtering, NULL handling, aggregation, and computing conditional percentages across related tables.
Coding questions · Agoda
Return Every Employee with a Mapped or Default Unique ID
Join employees to unique-ID mappings while preserving unmatched employees and applying an explicit fallback identifier.
Coding questions · Meta
Return k smallest elements using heap
This question evaluates proficiency with heap-based data structures, efficient algorithm design and complexity analysis for large inputs (O(n log k)) while reasoning about edge cases such as duplicates and negative values, and it falls under the Coding & Algorithms domain.
Coding questions · Attentive
Return Log Entries Within an Inclusive Time Range From a Sorted Log
Given an in-memory log sorted by integer timestamp, return every entry whose timestamp lies within an inclusive start and end time. The problem tests exact boundary handling with duplicate timestamps, empty results when the range misses the log, and locating a range efficiently in sorted data.
Coding questions · Uber
Return the Earliest ID Seen Exactly Once
Maintain the earliest single-visit ID with counts and queue pruning, handling permanent duplicates, empty results, and strict versus amortized constant-time queries.
Coding questions · Goldman Sachs
Return the First Non-Repeating Character
Return the first character whose total frequency is one, preserving input order and defining the result when every character repeats.