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

Solve pair-counting and account-merging problems

Problem A — Count qualifying products You are given two integer arrays A and B, and an integer T. For each element a in A, count how many elements b i...

Coding & Algorithms
3
0
57 people solved
Dec 8, 2025
LinkedIn logo
LinkedIn
Medium
Data Scientist

Count Article Types Viewed

Count Article Types Viewed You are given article view events and article metadata. Table 1: article_views — one row per article view event. | Column |...

Data Manipulation (SQL/Python)
9
0
79 people solved
Aug 3, 2025
Microsoft logo
Microsoft
Medium
Software Engineer Locked

Explain Python, Java, and Memory Management

This question evaluates understanding of programming language concepts and runtime behavior—covering typing disciplines, runtime models, performance a...

Software Engineering Fundamentals
4
0
36 people solved
Feb 22, 2026
Meta logo
Meta
Easy
Data Scientist Locked

How would you evaluate emoji reactions launch?

This question evaluates a data scientist's competency in analytics and experimentation, covering metric framework design, A/B testing and quasi-experi...

Analytics & Experimentation
41
0
484 people solved
Feb 21, 2026
Walmart Labs logo
Walmart Labs
Easy
Machine Learning Engineer Locked

Design an item category prediction system

This question evaluates a candidate's ability to design end-to-end machine learning systems for multi-class or hierarchical item categorization, encom...

ML System Design
5
0
48 people solved
Dec 7, 2025
SoFi logo
SoFi
Medium
Software Engineer

Describe Project and Collaboration Stories

Prepare behavioral interview answers for the following prompts: 1. Tell me about a project you found especially interesting. 2. Describe a story invol...

Behavioral & Leadership
8
0
110 people solved
Oct 1, 2025
Visa logo
Visa
Medium
Machine Learning Engineer

Answer RAG, Transformer, And Fraud Metric Fundamentals

Prepare for a machine learning interview that asks rapid conceptual questions about retrieval-augmented generation, neural network architectures, and ...

Machine Learning
1
0
16 people solved
Apr 7, 2026
Google logo
Google
Medium
Software EngineerSenior+

Answer Staff-level leadership scenarios using STAR

Behavioral prompts (Staff/L6) Provide structured answers (e.g., STAR) for scenarios like: 1. Most important technical decision you drove: how you deci...

Behavioral & Leadership
6
0
76 people solved
Jan 12, 2026
Pinduoduo logo
Pinduoduo
Medium
Software Engineer Locked

Design a Recency-Eviction Cache

This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recenc...

Coding & Algorithms
5
0
38 people solved
Feb 21, 2026
OpenAI logo
OpenAI
Hard
Software Engineer

Explain JS threading and useState vs useRef

Answer the following conceptual questions about JavaScript and React: 1. JavaScript and multithreading - How does JavaScript's execution model wo...

Software Engineering Fundamentals
10
0
117 people solved
Dec 6, 2025
Nuro logo
Nuro
Hard
Software Engineer

Implement a thread-safe periodic job scheduler

Implement a thread-safe periodic job scheduler Problem: Periodic Job Scheduler (Concurrency) Implement a small in-process job scheduler that can run p...

Software Engineering Fundamentals
26
0
197 people solved
Jul 31, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer

Compare deep learning framework trends

Compare deep learning framework trends This is an open-ended discussion question with two parts: 1. What high-level trends are happening at the deep l...

Machine Learning
8
0
61 people solved
Jul 31, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Discuss complex project and multi-approach example

Discuss complex project and multi-approach example Behavioral Prompt — End-to-End Complex Project and Alternatives (Software Engineer, Onsite) Describ...

Behavioral & Leadership
3
0
67 people solved
Jul 31, 2025
Databricks logo
Databricks
Hard
Software Engineer Locked

Implement an Alternating Tic-Tac-Toe Game

This question evaluates a candidate's ability to implement state management, alternating turn logic, input validation, board representation, game outc...

Coding & Algorithms
2
0
16 people solved
May 30, 2026
Pinterest logo
Pinterest
Easy
Data Scientist

Write SQL for top categories and highly active users

You are given three tables: 1) impression Event-level table of user impressions. - impression_id BIGINT (PK) - user_id BIGINT (FK → user.user_id) - pi...

Data Manipulation (SQL/Python)
58
0
389 people solved
Dec 5, 2025
Optiver logo
Optiver
Hard
Software EngineerIntern

Optimize flight and cargo bookings for profit

OptiCargo: make the booking algorithm profitable You are given two streams/lists: - Flights you may attempt to book. Each flight has: - flight_id ...

Coding & Algorithms
150
0
1205 people solved
Dec 5, 2025
DoorDash logo
DoorDash
Hard
Machine Learning Engineer

Discuss ML infrastructure fundamentals

Discuss ML infrastructure fundamentals ML System Design: Infra Stack, Feature Store, Reproducibility, and Monitoring Context: You are designing and op...

ML System Design
21
0
146 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer AI

Calculate Circular Route Query Distance

You are given a circular route with n stops numbered 0 to n - 1. The array distances has length n, where distances[i] is the clockwise distance from s...

Coding & Algorithms
0
0
10 people solved
Apr 6, 2026
Retell logo
Retell
Hard
Software Engineer

Design and Implement a Mini SQL Query Engine

You're given a set of in-memory tables — each table is a collection of rows over a known, typed schema (e.g., a table is a list of row objects, and ea...

System Design
3
0
25 people solved
Jan 10, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Design an IPv4 Address Iterator

This question evaluates a candidate's ability to represent and iterate IPv4 addresses, covering parsing, numeric arithmetic with carry between octets,...

Coding & Algorithms
15
0
114 people solved
Jan 10, 2026