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

Answer core Python, CS, DB, and testing questions

This multi-part prompt evaluates core software engineering competencies including Python fundamentals (OOP, object/model behavior, iterators/generator...

Software Engineering Fundamentals
2
0
40 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer

Explain approach to behavioral Likert assessment

Explain approach to behavioral Likert assessment Behavioral SJT: Strategy and Examples Context You are completing a 60-item behavioral situational jud...

Behavioral & Leadership
8
0
102 people solved
Jul 27, 2025
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design reliable high-volume chatbot system

This question evaluates a candidate's ability to design scalable, highly available, and fault-tolerant backend architectures for stateful chatbot serv...

System Design
28
0
204 people solved
Dec 6, 2025
Anthropic logo
Anthropic
Hard
Software Engineer

Design a prompt processing backend

Design a prompt processing backend System Design: Background Processing Backend for LLM Prompts Context Design a multi-tenant backend that processes l...

ML System Design
13
0
175 people solved
Jul 26, 2025
Atlassian logo
Atlassian
Medium
Software Engineer

Design an image crawler for unlimited URLs

Design a service that crawls images starting from a set of root URLs. Requirements: - Input: one or more root URLs. - Crawl pages, discover links, and...

System Design
9
0
66 people solved
Jan 5, 2026
Apple logo
Apple
Hard
Data Scientist

Choose Optimal Network Retry Threshold

You work on a mobile music streaming team responsible for improving playback reliability while minimizing battery drain. When the app is streaming aud...

Analytics & Experimentation
6
0
81 people solved
Mar 14, 2026
Databricks logo
Databricks
Medium
Software EngineerSenior+ Locked

Design bookstore and chat messaging systems

This question evaluates a candidate's competency in large-scale system design, including distributed systems architecture, data modeling, consistency ...

System Design
31
0
267 people solved
Oct 10, 2025
Affirm logo
Affirm
Easy
Software Engineer Locked

Design a Ticketmaster-like ticketing system

This question evaluates system design and distributed-systems competencies for an online event ticketing platform, focusing on scalability, concurrenc...

System Design
12
0
88 people solved
Nov 6, 2025
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

First Non-Repeating Character in a String

This question evaluates a candidate's ability to work with hash maps and character frequency counting in string processing. It tests practical coding ...

Coding & Algorithms
1
0
12 people solved
Jun 9, 2026
Google logo
Google
Medium
Software Engineer Locked

Boolean Expression Tree with Leaf Flips

This question evaluates a candidate's ability to work with tree data structures and apply efficient update propagation techniques. It tests practical ...

Coding & Algorithms
6
0
26 people solved
Jun 9, 2026
Google logo
Google
Medium
Software Engineer Locked

Streaming Points: Remove Any Pair Within a Distance

This question evaluates practical use of ordered data structures for streaming input with proximity-based removal logic. It tests balanced BST or sort...

Coding & Algorithms
1
0
9 people solved
Jun 9, 2026
Apple logo
Apple
Medium
Data Scientist

Design Siri-vs-GPT query routing

You are a Data Scientist at Apple designing a feature that decides whether a user's natural-language query should be routed to Siri or to a GPT-based ...

Machine Learning
12
0
149 people solved
Jan 4, 2026
Snapchat logo
Snapchat
Hard
Software EngineerSenior+

Compare WebSocket, SSE, and long polling

You are building real-time features for a web application and the interviewer probes your networking fundamentals across several layers of the stack. ...

Software Engineering Fundamentals
3
0
51 people solved
Jan 4, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Build an Account Transfer Ledger

This question evaluates the ability to implement transaction processing, state management, validation of transfers (including rejects and platform len...

Coding & Algorithms
5
0
76 people solved
Mar 13, 2026
Belvederetrading logo
Belvederetrading
Medium
Software Engineer Locked

Implement Concurrent Utilities in C++

This question evaluates proficiency in C++ concurrency and generic programming, specifically multithreaded parallel execution, synchronization primiti...

Coding & Algorithms
2
0
28 people solved
Mar 13, 2026
Bytedance logo
Bytedance
Medium
Software Engineer

Find Maximum Candies With Two Types

You are given a row of candies represented by an array candies, where candies[i] is the type of the candy at position i. You may choose any starting p...

Coding & Algorithms
1
0
15 people solved
Apr 22, 2026
Tesla logo
Tesla
Easy
Software Engineer

Answer HR screening questions for data role

** HR HR 1. 2. 3. 4. 5. 6. 7. 8. 30 HR **

Behavioral & Leadership
5
0
103 people solved
Oct 8, 2025
StackAdapt logo
StackAdapt
Hard
Data Scientist

Compute extinction probability in a branching process

Compute extinction probability in a branching process You start with 1 cell at time 0. Every minute, each existing cell independently transitions with...

Statistics & Math
7
0
117 people solved
Jul 23, 2025
SoFi logo
SoFi
Easy
Software Engineer

Explain benefits of a lockfile

When running a JavaScript app using package managers like npm or yarn, what is the purpose of a dependency lockfile (e.g., package-lock.json or yarn.l...

Software Engineering Fundamentals
7
0
94 people solved
Jan 3, 2026
Google logo
Google
Hard
Data Scientist Locked

Model Shot Success by Location

This question evaluates a candidate's skill in spatial probabilistic modeling, feature engineering, calibration, uncertainty quantification, and handl...

Machine Learning
3
0
76 people solved
Dec 3, 2025