cswork / libraryOpen practice workspace

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 111 of 872

  1. Coding questions · Meta

    Compute unread and multi-account user percentages

    This question evaluates understanding of SQL data manipulation skills such as aggregations, joins, NULL handling, deduplication reasoning, and user- versus person-level computations for accurate percentage metrics.

  2. Coding questions · Snapchat

    Compute User Group Stories and Aggregate Story Engagement

    This question evaluates data wrangling and aggregation competency in pandas, focusing on group-level aggregation and filtering of engagement metrics across users and story types.

  3. Coding questions · Snapchat

    Compute User Retention and Analyze Event Data

    This question evaluates a candidate's ability to perform SQL and Python data manipulation for event analytics, including cohort retention, aggregation of distinct purchasing users, median-of-daily-events calculations, and hourly time-series grouping.

  4. Coding questions · PayPal

    Compute Variance from a Python List

    This question evaluates understanding of basic statistical concepts and numerical computation—specifically population versus sample variance—and tests algorithmic implementation skills, edge-case handling, and complexity reasoning within the Coding & Algorithms domain.

  5. Coding questions · PayPal

    Compute variance of a list in Python

    This question evaluates understanding of statistical measures and numeric computation, focusing on implementing variance calculations (population vs sample) and considerations for numerical stability.

  6. Coding questions · Meta

    Compute vertical order of a BST

    This question evaluates understanding of binary tree traversals and coordinate-based ordering, including tie-breaking by breadth-first visitation order, plus competency in algorithmic time and space complexity analysis and strategies for handling deep recursion and streaming large inputs.

  7. Coding questions · Meta

    Compute video-call SQL metrics with edge cases

    This question evaluates the ability to manipulate time-series and relational call/event data using SQL (and optionally Python), emphasizing aggregation, DISTINCT counting, interval-overlap logic, and handling edge cases such as duplicates, failed calls, users joining multiple times, calls spanning midnight, and test accounts.

  8. Coding questions · TikTok

    Compute waits and find distance-k node pairs

    This question evaluates proficiency in algorithm design and data structure usage for both array and tree problems and falls under the Coding & Algorithms domain; it is commonly asked to assess algorithmic thinking, time and space complexity reasoning, and robustness in handling edge cases.

  9. Coding questions · Paradromics

    Compute ways to climb n steps

    This Coding & Algorithms question evaluates recursion and dynamic programming concepts by asking for the count of distinct ways to climb n steps, framed at an algorithmic/implementation level. It is commonly asked because it probes recognition of overlapping subproblems and the ability to optimize naive recursive approaches through subproblem reuse and improved time/space efficiency.

  10. Coding questions · Thumbtack

    Compute weekly 3-week rolling sums in SQL

    This question evaluates time zone–aware date bucketing, gapless calendar generation, and rolling-window aggregation skills, demonstrating competency in SQL-based data manipulation and temporal reasoning.

  11. Coding questions · Thumbtack

    Compute weighted response rates by job category

    This question evaluates a candidate's data manipulation and statistical estimation skills, including pandas-based aggregation, invitation-weighted rate calculation, confidence-interval computation, and robust handling of data-quality issues, in the Data Manipulation (SQL/Python) domain.

  12. Coding questions · Meta

    Compute weighted sum of nested lists

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Compute weighted sum of nested lists states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  13. Coding questions · TikTok

    Compute widest level span in a binary tree

    This question evaluates understanding of binary tree traversal, positional indexing in a complete binary tree, and handling integer overflow while computing level widths.

  14. Coding questions · Morgan Stanley

    Compute win probability in coin-toss game

    This question evaluates understanding of probability theory and stochastic processes, focusing on win probability in an alternating coin-toss game and reasoning about pattern occurrence and stopping times in random sequences.

  15. Coding questions · Dropbox

    Compute worst-case guesses for adaptive hangman

    This question evaluates algorithmic problem-solving, combinatorial reasoning, and adversarial information-theoretic thinking by requiring modeling of worst-case query strategies for adaptive letter-guessing.

  16. Coding questions · Meta

    Connect next pointers for each tree level

    Evaluates understanding of binary tree traversal, in-place pointer manipulation, and time-space trade-offs by requiring population of sibling pointers across each level while meeting O(n) time and O(1) extra space constraints.

  17. Coding questions · Amazon

    Consolidate and Rank Global Salaries in USD

    This question evaluates data consolidation, currency normalization, and ranking competencies, measuring the ability to combine country-specific employee data and convert salaries into a common USD basis within the Data Manipulation (SQL/Python) domain.

  18. Coding questions · Meta

    Construct a BST and read spiral order

    This question evaluates proficiency in data structures and algorithm design by testing binary search tree reconstruction from a preorder sequence and matrix spiral (clockwise layer) traversal.

  19. Coding questions

    Continue Entry Numbers for a Daily Incremental Batch

    Continue per-context entry numbering for a daily batch using stored maximums, ordered row numbers, and correct new-context handling.

  20. Coding questions · Meta

    Convert 32-bit integer to hexadecimal

    This question evaluates understanding of integer representation, hexadecimal notation, bitwise operations, and 32-bit two's complement arithmetic. It is commonly asked to assess low-level data representation and edge-case handling within the Coding & Algorithms domain, and it tests practical implementation skills alongside conceptual understanding of binary and base conversion.

  21. Coding questions · Houzz

    Convert a Column Number to an Excel-Style Label

    Convert one-based spreadsheet columns into A-through-Z and AA-through-ZZ labels, with correct handling of multiples of 26.

  22. Coding questions · Microsoft

    Convert a Hexadecimal Address to Dotted IPv4

    Convert an eight-digit hexadecimal address to network-order dotted IPv4 with strict validation, optional prefixes, and correct high-bit handling.

  23. Coding questions · Uber

    Convert a PDF to a CDF

    This question evaluates understanding of probability theory, numerical methods, and algorithmic implementation for converting probability density functions into cumulative distribution functions, addressing analytic versus sampled PDFs along with support, normalization, and monotonicity requirements.

  24. Coding questions · Meta

    Convert BST to sorted doubly list

    This question evaluates understanding of binary search tree properties, in-order traversal, in-place pointer manipulation, and algorithmic complexity when converting tree nodes into a sorted doubly linked list.