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
Databricks logo
Databricks
Hard
Software EngineerNew Grad

Find path in implicit Fibonacci tree

You are given a special family of binary trees called Fibonacci trees. The k‑th order Fibonacci tree T(k) is defined recursively: - T(1) is a single n...

Coding & Algorithms
136
0
1029 people solved
Dec 10, 2025
Google logo
Google
Hard
Software Engineer

Design lexicographic range query word store

Design a storage/data structure for a set of strings that supports lexicographic range queries. You are given a collection of words (strings), stored ...

System Design
11
0
121 people solved
Oct 5, 2025
LinkedIn logo
LinkedIn
Medium
Data Scientist

Handle imbalance, sampling, and overfitting

Machine Learning Fundamentals: Imbalance, Sampling, Overfitting, and Regularization You are asked several machine learning fundamentals questions in a...

Machine Learning
7
0
57 people solved
Jul 8, 2025
Upstart logo
Upstart
Easy
Data Scientist

Explain L1 vs L2 and ridge vs lasso

Explain the differences between: 1. L1 vs L2 regularization (how they change the objective, geometry/intuitions, and typical effects on learned parame...

Machine Learning
10
0
124 people solved
Dec 9, 2025
Meta logo
Meta
Medium
Data Scientist

Evaluate AI-assisted ad creation

Meta is considering launching an AI-assisted ad creation feature for advertisers. The feature helps advertisers generate ad copy and/or creatives insi...

Analytics & Experimentation
27
0
185 people solved
Feb 23, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Solve Magic Dictionary and unknown traversal

Solve Magic Dictionary and unknown traversal LeetCode 676. Implement Magic Dictionary Determine and implement traversal/encoding that outputs nodes as...

Coding & Algorithms
13
0
121 people solved
Aug 4, 2025
TikTok logo
TikTok
Easy
Data Scientist

Highlight Background and Impactful Projects in Self-Introduction

Highlight Background and Impactful Projects in Self-Introduction Behavioral Prompt: Self-Introduction (Technical Phone Screen) Context You are at the ...

Behavioral & Leadership
4
0
62 people solved
Aug 4, 2025
Pinterest logo
Pinterest
Hard
Data Scientist

Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform

Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform Rapid ML Fundamentals Check — Recommender Systems Context You are intervie...

Machine Learning
10
0
66 people solved
Aug 4, 2025
TikTok logo
TikTok
Medium
Data Scientist

Design Metrics for Content Moderation and Chatbot Evaluation

Design Metrics for Content Moderation and Chatbot Evaluation Scenario Trust & Safety data science: You are asked to design metrics for two situations:...

Analytics & Experimentation
3
0
51 people solved
Aug 4, 2025
Voleon Group logo
Voleon Group
Medium
Data Scientist

Fit Linear Regression: Analyze Economic Impact of Coefficients

Fit Linear Regression: Analyze Economic Impact of Coefficients Scenario You are given a tabular financial dataset df where the column target is the de...

Machine Learning
18
0
213 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Differentiate Overfitting and Underfitting in Machine Learning

Differentiate Overfitting and Underfitting in Machine Learning ML/DL Fundamentals for a Recommendation Engine Context You are preparing for a take-hom...

Machine Learning
3
0
72 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Analyze Python Functions: Improve Readability and Efficiency

Analyze Python Functions: Improve Readability and Efficiency Scenario Zoom interview code-review segment: interviewer shares three short Python functi...

Coding & Algorithms
5
0
73 people solved
Aug 4, 2025
TikTok logo
TikTok
Easy
Data Scientist

Highlight Key Projects and Their Business Impact

Highlight Key Projects and Their Business Impact Behavioral: Self‑Introduction and Project Impact (Data Scientist Phone Screen) Context You are interv...

Behavioral & Leadership
9
0
67 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data ScientistSenior+

Assess Amazon Leadership Principles in Behavioral Interviews

Assess Amazon Leadership Principles in Behavioral Interviews Scenario Amazon Data Scientist (often L5) onsite — the Leadership Principles (LP) behavio...

Behavioral & Leadership
62
0
260 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Explain Resolving a Complex Technical Challenge Successfully

Explain Resolving a Complex Technical Challenge Successfully Behavioral: Complex Technical Problem You Solved (Data Scientist – Onsite) Prompt Describ...

Behavioral & Leadership
9
0
45 people solved
Aug 4, 2025
Cloudflare logo
Cloudflare
Easy
Software Engineer

Describe contributions to production code

In a software engineering interview, the interviewer asks: > Have you ever contributed to any production code? How should you respond to highlight you...

Behavioral & Leadership
3
0
44 people solved
Dec 8, 2025
Google logo
Google
Medium
Software Engineer

Explain handling a tight project deadline

In a behavioral interview for a software engineering or technical role, you are asked: > Describe a time you had to work under a very tight deadline. ...

Behavioral & Leadership
3
0
46 people solved
Dec 8, 2025
Databricks logo
Databricks
Medium
Software Engineer

Implement run-length encoding and decoding

You are given a string consisting of lowercase English letters. You need to implement run-length encoding (RLE) and its corresponding decoding. 1. Enc...

Coding & Algorithms
43
0
371 people solved
Dec 8, 2025
Rippling logo
Rippling
Medium
Software Engineer

Convert amounts between multiple currencies

You are given a set of direct currency exchange rates and a list of queries. Each exchange rate gives you how to convert from one currency to another....

Coding & Algorithms
41
0
346 people solved
Dec 8, 2025
Fuse Energy logo
Fuse Energy
Medium
Software Engineer

Implement simplified Excel with SET/GET/SUM

Implement a simplified in-memory spreadsheet that supports three operations: SET, GET, and SUM, similar to basic Excel functionality. Assumptions and ...

Coding & Algorithms
46
0
314 people solved
Dec 8, 2025