Tech Interview Questions

Practice 9,160+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Machine Learning Engineer + Data Scientist + Software Engineer Interview Questions

Practice the exact questions companies are asking right now.

9.2k Questions 486 Companies08.11.2026
Showing 20 results
Role
TikTok logo
TikTok
Medium
Software Engineer Locked

Solve linked list, string filtering, and puzzle

This multi-part question evaluates proficiency with linked-list pointer manipulation and constant-space linear-time algorithms, pattern-driven string ...

Coding & Algorithms
6
0
42 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Design a weighted random value generator

This question evaluates understanding of weighted random sampling, probability-proportional selection, data structures for aggregating weights, and AP...

Coding & Algorithms
7
0
103 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Find median of merged RLE arrays

The question evaluates understanding of run-length encoding, order-statistics (median) computation, and efficient merging of frequency-annotated seque...

Coding & Algorithms
12
0
168 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Implement iterator merging lists with filtering

This question evaluates iterator/generator design, sequence merging, stateful filtering and deduplication, checking a candidate's ability to maintain ...

Coding & Algorithms
4
0
69 people solved
Jan 6, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Find linked merchants by shared fields

This question evaluates the ability to model and detect entity linkages via exact field matching and weighted scoring as well as to reason about reach...

Coding & Algorithms
1
0
22 people solved
Jan 6, 2026
LinkedIn logo
LinkedIn
Medium
Data Scientist

Device Status without Timestamps

Table: article_views article_id INT author_id INT viewer_id INT view_dt DATE Count authors who have never viewed any of their own articles. On 20...

Data Manipulation (SQL/Python)
9
0
26 people solved
Apr 26, 2025
Databricks logo
Databricks
Medium
Software Engineer Locked

Implement lazy array and KV store

This question evaluates understanding of lazy evaluation and functional transformation chaining for a LazyArray alongside in-memory data structure des...

Coding & Algorithms
8
0
100 people solved
Jan 5, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Check equal character frequencies

This question evaluates a candidate's understanding of character frequency analysis and algorithmic reasoning in string manipulation, measuring the ab...

Coding & Algorithms
1
0
37 people solved
Jan 5, 2026
Bnp logo
Bnp
Easy
Data Scientist

Answer trader-style behavioral and motivation questions

You are interviewing for a trading/quant role. Prepare strong answers to the following behavioral prompts: - Why this firm? Why this role/team? - What...

Behavioral & Leadership
5
0
47 people solved
Jan 5, 2026
Bnp logo
Bnp
Easy
Data Scientist

Find expected tosses to see a coin pattern

A fair coin is tossed repeatedly until a target length-3 pattern appears as a consecutive substring (e.g., HHH, HTH, HTT, etc.). 1) Describe a general...

Software Engineering Fundamentals
1
0
27 people solved
Jan 5, 2026
Atlassian logo
Atlassian
Medium
Software Engineer

Design a tagging system and REST APIs

Design a tagging system (similar to tagging pages/issues) with a strong focus on REST API design. Functional requirements: - Create a tag. - Rename a ...

System Design
8
0
72 people solved
Jan 5, 2026
Atlassian logo
Atlassian
Medium
Software Engineer

Implement agent voting with average and sorting

Design an in-memory “agent voting” module that records ratings agents give to items (e.g., tickets/articles). Requirements: - Each vote is: (agentId, ...

Coding & Algorithms
2
0
53 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Design a food ordering and delivery system

This question evaluates a candidate's ability to design scalable, reliable backend systems including API design, data modeling, state management, disp...

System Design
8
0
73 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Find shortest path in an OOP maze

This question evaluates graph traversal and shortest-path reasoning within an object-oriented codebase, focusing on state representation, neighbor exp...

Coding & Algorithms
2
0
38 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Add two binary strings

This question evaluates proficiency with binary arithmetic and string manipulation, focusing on carry propagation and handling of very long inputs wit...

Coding & Algorithms
3
0
33 people solved
Jan 5, 2026
Google logo
Google
Easy
Software Engineer Locked

Compute minimum meeting rooms on circular day

This question evaluates a candidate's ability to reason about interval scheduling, circular time wrap-around, and resource allocation for overlapping ...

Coding & Algorithms
9
0
70 people solved
Jan 4, 2026
Google logo
Google
Medium
Software Engineer Locked

Generate all subsets (handle duplicates)

This question evaluates understanding of power-set generation and handling of duplicate elements, measuring competency in combinatorics, enumeration t...

Coding & Algorithms
8
0
66 people solved
Jan 4, 2026
Google logo
Google
Medium
Software Engineer Locked

Reconstruct original array from doubled shuffle

This question evaluates array manipulation, multiset/frequency reasoning, pairing logic, and careful handling of edge cases such as zeros and negative...

Coding & Algorithms
6
0
50 people solved
Jan 4, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Define and estimate prevalence of unhealthy users

This question evaluates a data scientist's ability to operationalize an "unhealthy user" metric and compute its prevalence from session duration and d...

Analytics & Experimentation
3
0
37 people solved
Aug 17, 2025
Uber logo
Uber
Medium
Data Scientist Locked

Derive a CDF from a PDF

This question evaluates a candidate's understanding of the relationship between probability density functions and cumulative distribution functions, i...

Statistics & Math
5
0
42 people solved
Jan 3, 2026