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 859 of 872
Interview questions · Amazon
Implement robust word counts and min/max
This question evaluates proficiency in large-scale text processing, Unicode-aware tokenization and normalization, memory-efficient streaming and frequency counting (including implementing counting with plain dicts), and designing robust safe_min/safe_max semantics to handle NaNs, mixed comparable types, and stability concerns.
Interview questions · Bloomberg
Implement RotatingFileSink in hierarchy
This question evaluates a candidate's proficiency in Python object-oriented design, file I/O and JSON serialization, concurrency control via locking, context manager protocols, custom exception handling, and adherence to Liskov substitution when implementing a rotating file sink.
Interview questions · ByteDance
Implement several OA simulation problems
This set of problems evaluates skills in string processing, memory simulation and allocation logic, and online data-structure maintenance for dynamic contiguous segment counting, testing algorithmic design and attention to stateful invariants.
Interview questions · DRW
Implement simulation-based portfolio optimizer in Python
Implement simulation-based portfolio optimizer in Python evaluates SQL or pandas logic, joins, grouping, window functions, null handling, edge cases, and validation 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 · 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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.