cswork / libraryOpen practice workspace

READ. UNDERSTAND. PRACTICE.

Interview questions

Explore algorithm tutorials, coding and system design questions, interview experiences, and computer science study guides.

1,290 resources · Page 41 of 54

  1. Interview questions · Airtable

    Implement spreadsheet undo/redo operations

    This question evaluates a candidate's ability to design stateful data structures and manage operation history, focusing on correctness of undo/redo semantics, handling edge cases, and analyzing time and space complexity.

  2. Interview questions · LinkedIn

    Implement stream random sampling in Python

    This question evaluates understanding of streaming algorithms, uniform random sampling, and probabilistic guarantees for maintaining a fixed-size sample from an unbounded data stream (reservoir-sampling concepts).

  3. Interview questions · Etsy

    Implement streaming autocomplete under tight memory

    This question evaluates a candidate's ability to design a memory- and latency-constrained autocomplete service, testing skills in data structure selection, string/Unicode normalization, approximate string matching, concurrency, dynamic updates, and algorithmic time/space analysis.

  4. Interview questions · TikTok

    Implement streaming SRM detector with late events

    This question evaluates proficiency in stateful stream processing, statistical anomaly detection for sample ratio mismatch, and scalable system design concerns such as deduplication, late/out-of-order event handling, real-time aggregation, chi-square testing with Yates correction, bot-rate mitigation, sharding, and replay validation.

  5. Interview questions · Meta

    Implement string and basic ML algorithms

    This question evaluates proficiency in algorithmic string processing and implementation of foundational machine learning models, covering skills such as designing an efficient distinct-character substring algorithm, implementing binary logistic regression training and prediction, and building a multinomial Naive Bayes text classifier.

  6. Interview questions · Thumbtack

    Implement TF–IDF with sparse matrices

    This question tests a candidate's practical understanding of information retrieval and natural language processing by requiring a from-scratch implementation of TF–IDF vectorization. It evaluates proficiency in numerical computing, sparse matrix construction, and algorithm design — skills commonly assessed for data science and machine learning engineering roles.

  7. Interview questions · Palo Alto Networks

    Implement three whiteboard coding tasks

    This set of whiteboard coding tasks evaluates proficiency in algorithmic problem-solving, data structure design, and parsing techniques by covering binary search, randomized set operations with average O(1) complexity, and operator-precedence expression evaluation including nested parentheses.

  8. Interview questions · Meta

    Implement tree column grouping and minimal parentheses fixes

    This question evaluates proficiency in tree and string algorithms, specifically binary tree traversal and coordinate-based column grouping with ordering/tie-breaking semantics, as well as string processing for minimal-parentheses deletion, and probes competence with data structures, streaming/online processing, correctness guarantees, and in-place space management. It is commonly asked in the Coding & Algorithms domain to assess algorithmic reasoning, implementation-level trade-offs and complexity analysis, testing both conceptual understanding of ordering and correctness and practical application skills such as achieving linear-time and space-efficient solutions and scaling to large inputs.

  9. Interview questions · Microsoft

    Implement tree traversals, BFS, and subsets generation

    This question evaluates proficiency with fundamental data structures and algorithms—binary tree traversals (preorder, inorder, postorder), breadth-first search on unweighted graphs, and power-set/subset generation—emphasizing implementation choices between recursive and iterative approaches and required time and space complexity reasoning.

  10. Interview questions · Snapchat

    Implement XML tokenizer and parser with operations

    This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Implement XML tokenizer and parser with operations states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  11. Interview questions · Reddit

    Improve Reddit onboarding

    This question evaluates product sense, analytical reasoning, experiment design, and cross-functional leadership in the context of improving first-time user onboarding and activation on a community platform, testing competencies in user research, metric definition, prioritization, and validation.

  12. Interview questions · Meta

    Improve Team Dynamics: Addressing Unwelcoming Behavior Effectively

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Improve Team Dynamics: Addressing Unwelcoming Behavior Effectively states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  13. Interview questions · Shopify

    Infer and justify non-trivial sequence patterns

    This question evaluates mathematical reasoning, sequence inference, and pattern-recognition competency by asking the solver to identify governing rules and justify missing terms across numeric sequences and a small grid.

  14. Interview questions · Snapchat

    Influence a senior partner with data

    This question evaluates a data scientist's competence in influencing senior cross-functional leaders through ambiguous A/B test results, covering data-driven decision-making, experimental design, stakeholder management, communication of trade-offs, and measurement of outcomes.

  15. Interview questions · Snapchat

    Influence Cross-Functional Teams Without Formal Authority

    Evaluates behavioral and leadership storytelling for influencing cross-functional teams without formal authority. Strong answers use specific data science examples, quantify impact, show coachability from feedback, and explain prioritization when leadership, data, and UX point in different directions.

  16. Interview questions · Airbnb

    Influence Decisions Without Direct Authority: Strategies and Outcomes

    Evaluates behavioral storytelling for influencing decisions without direct authority. Strong answers use STAR, map stakeholders, build alignment with shared goals and evidence, handle objections, quantify outcomes, and show how the candidate drove a decision without formal power.

  17. Interview questions · PayPal

    Influence policy with BI deliverables

    This question evaluates competency in BI-driven fraud risk management, stakeholder influence, dashboard and metric design, executive communication, and data governance within a data science role.

  18. Interview questions · Meta

    Influence Stakeholders for Product Decision at Meta

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Influence Stakeholders for Product Decision at Meta states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  19. Interview questions · Capital One

    Influence Stakeholders Using Data: Handle Conflicts, Measure Success

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Influence Stakeholders Using Data: Handle Conflicts, Measure Success states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  20. Interview questions · PayPal

    Influence Stakeholders Without Authority: Strategies and Examples

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Influence Stakeholders Without Authority: Strategies and Examples states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

  21. Interview questions · Meta

    Influence Stakeholders Without Authority: Strategies and Outcomes

    Influence Stakeholders Without Authority: Strategies and Outcomes 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.

  22. Interview questions · Amazon

    Innovation, Root Cause, and Deadline Management Stories

    Practice behavioral PM answers for innovation, root-cause analysis, and urgent deadline management. The guide uses STARL examples with metrics, trade-offs, stakeholder handling, prevention mechanisms, and probe-ready details for interview follow-up questions.

  23. Interview questions · Capital One

    Interpret regression metrics and assumptions

    This question evaluates a candidate's mastery of multiple linear regression diagnostics and interpretation, covering standardized coefficient interpretation and significance, R²/adjusted R² and out‑of‑fold RMSE comparisons, multicollinearity detection and its effect on coefficients and SEs, heteroskedasticity diagnostics and robust remedies, and implications of intercept omission and partial standardization. Commonly asked in data scientist interviews within the Statistics & Math domain because it probes both conceptual understanding of statistical inference and practical application of model diagnostics and adjustments for reliable prediction and inference.

  24. Interview questions · Rippling

    Introduce background and choose target team

    Introduce background and choose target team 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.