Tech Interview Questions

Practice 9,224+ 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.16.2026
Showing 20 results
Role
Netflix logo
Netflix
Medium
Machine Learning Engineer

Explain tokenization and Transformer variants

Tokenization and Transformer Architecture Deep Dive You are asked to explain common tokenization approaches and modern Transformer design choices used...

Machine Learning
8
0
113 people solved
Aug 13, 2025
Motive logo
Motive
Medium
Software Engineer

Fetch and parse JSON from REST API

Question Set up a minimal coding environment from scratch and write runnable code that fetches and processes data from a REST API. You are given an en...

Data Manipulation (SQL/Python)
8
0
68 people solved
Aug 13, 2025
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Implement a longest-match tokenizer

This question evaluates string-processing and algorithmic implementation skills for greedy longest-match tokenization, including handling runs of unma...

Coding & Algorithms
4
1
73 people solved
Oct 19, 2025
Databricks logo
Databricks
Medium
Software EngineerSenior+

Find optimal commute mode in a city graph

You are designing a route planner that suggests the best way to commute between two points in a city using different transportation modes. The city is...

Coding & Algorithms
30
0
284 people solved
Oct 19, 2025
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Explain CAP, indexing, locks, and logs

This question evaluates knowledge of distributed systems concepts (CAP theorem), database internals (index types and logging), and concurrency control...

Software Engineering Fundamentals
5
0
37 people solved
Jan 2, 2026
PayPal logo
PayPal
Hard
Data Scientist

Design a fraud mitigation strategy under constraints

You are given a one-page case during a hiring manager round for a Fraud Data Scientist role. Current state: - The existing fraud model is performing p...

Analytics & Experimentation
9
0
77 people solved
Jan 2, 2026
TikTok logo
TikTok
Medium
Software Engineer

Implement list, form, and API rendering with pitfalls

Take-home: Build a Small Frontend App (List + Form + API + A11y) Goal Implement a simple web app that demonstrates core frontend skills: rendering fro...

Software Engineering Fundamentals
7
0
51 people solved
Aug 12, 2025
Whatnot logo
Whatnot
Easy
Software Engineer Locked

Count User Journey Prefixes

This question evaluates the ability to reconstruct per-user action sequences from timestamped logs, aggregate and count path prefixes, and apply data-...

Coding & Algorithms
10
0
89 people solved
Apr 1, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Implement fast power and k-palindrome

This question evaluates numerical algorithm design and string algorithm skills, focusing on efficient exponentiation with negative exponents and deter...

Coding & Algorithms
5
0
44 people solved
Apr 1, 2026
Scale AI logo
Scale AI
Medium
Software EngineerNew Grad

Schedule Ready Tasks by Deadline

You are building a workflow scheduler. Each task has: - a unique task_id - an integer deadline - an optional list of prerequisite tasks that must be c...

Coding & Algorithms
63
0
485 people solved
Apr 1, 2026
Ramp logo
Ramp
Medium
Software Engineer

Maximum Profit from Multi-Stock Trading Records

Maximum Profit from Multi-Stock Trading Records You are given a list of stock price records collected from a trading feed. Each record is a triple: - ...

Coding & Algorithms
0
0
10 people solved
Jan 1, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Design a package installer with dependencies

This question evaluates understanding of package management and dependency resolution, including version constraints, detection of missing packages, c...

System Design
7
0
60 people solved
Jan 1, 2026
Bank of America logo
Bank of America
Medium
Data Scientist

Describe building a professional relationship

Behavioral Prompt: Building a Strong Working Relationship Context: Behavioral question for a Data Scientist interview. Aim for a concise, impact-focus...

Behavioral & Leadership
2
0
38 people solved
Aug 11, 2025
Meta logo
Meta
Medium
Software Engineer Locked

Design a flight search platform

This question evaluates understanding of distributed systems, API and data model design, large-scale data ingestion and indexing, search ranking and c...

System Design
1
0
27 people solved
Oct 17, 2025
DoorDash logo
DoorDash
Medium
Machine Learning Engineer

Find closest value to a target in a BST

Problem Given the root of a binary search tree (BST) and a floating-point number target, return the value in the BST that is closest to target. If the...

Coding & Algorithms
8
0
87 people solved
Oct 17, 2025
Cvs logo
Cvs
Easy
Data Scientist

Compute specialty spend share and top age band

You are given healthcare claims data split across member tables. Tables Assume the following schemas (types may be adapted to your SQL dialect): mem1 ...

Data Manipulation (SQL/Python)
10
1
89 people solved
Oct 17, 2025
MathWorks logo
MathWorks
Easy
Software Engineer

Deduce row order from logic clues

Logic Ordering Puzzle: Four Coworkers in a Row Context Four coworkers—A, B, C, and D—are standing in a single row, left to right, facing north. Positi...

Statistics & Math
7
0
58 people solved
Aug 10, 2025
EvenUp logo
EvenUp
Medium
Software Engineer

Walk through your resume and impacts

Walk through your resume and impacts Behavioral Prompt: Walk Through Your Resume (Technical Screen) You are interviewing for a Software Engineer role ...

Behavioral & Leadership
15
0
122 people solved
Aug 10, 2025
Akuna Capital logo
Akuna Capital
Hard
Software Engineer

Fix and harden an object pool

Fix and harden an object pool Refactor a Buggy C++ Object Pool Into a Correct, Thread-Safe Template Context You are given a buggy C++ object pool that...

System Design
8
0
117 people solved
Aug 10, 2025
Perplexity AI logo
Perplexity AI
Medium
Software Engineer

Design a CreditTracker with expirations

Design a CreditTracker class with three methods: ( 1) add_credit(start_time, end_time, credit), ( 2) subtract_credit(time, credit), and ( 3) check_cre...

Coding & Algorithms
14
0
128 people solved
Aug 10, 2025