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.16.2026
Showing 20 results
Role
Intersystems logo
Intersystems
Easy
Software EngineerNew Grad

Teach a networking concept to a beginner

Scenario You previously worked as a tutor/TA for a computer networking course. Prompt Pretend you are teaching a short mini-lesson (3–5 minutes) to a ...

Behavioral & Leadership
7
0
58 people solved
Feb 11, 2026
Intersystems logo
Intersystems
Easy
Software EngineerNew Grad

Find the longest palindromic substring

Problem Given a string s, find the longest contiguous substring of s that is a palindrome (reads the same forward and backward). Input - A string s co...

Coding & Algorithms
3
0
38 people solved
Feb 11, 2026
Glean logo
Glean
Hard
Software Engineer

Implement 2048 tilt move

Problem: Implement a 2048 “tilt” (move) operation You are given a 4×4 board for the game 2048. Each cell contains either 0 (empty) or a power of two (...

Coding & Algorithms
19
0
237 people solved
Feb 11, 2026
Google logo
Google
Medium
Software Engineer Locked

Decompress encoded string with nested repeats

This question evaluates string parsing and manipulation skills, particularly handling nested repetition encodings and reasoning about output growth, a...

Coding & Algorithms
27
0
197 people solved
Feb 11, 2026
Coinbase logo
Coinbase
Medium
Software Engineer Locked

Select transactions to maximize fees under size

This question evaluates the ability to model and optimize resource allocation under capacity constraints, testing algorithmic skills in dynamic progra...

Coding & Algorithms
50
0
381 people solved
Feb 11, 2026
Verkada logo
Verkada
Medium
Software Engineer Locked

Find user who can access every camera

This question evaluates reasoning about access-control and transitive relationships, testing skills in graph modeling, reachability, and set operation...

Coding & Algorithms
9
0
76 people solved
Feb 11, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Compute maximum later-earlier difference

This question evaluates array-processing and algorithmic optimization skills, testing reasoning about element relationships in sequences; it falls und...

Coding & Algorithms
6
0
100 people solved
Feb 11, 2026
Atlassian logo
Atlassian
Medium
Machine Learning Engineer

Answer values interview behavioral questions

You are in a management/values interview. Prepare behavioral answers aligned to the company’s core values. Typical questions in this round include: - ...

Behavioral & Leadership
6
0
54 people solved
Oct 15, 2025
Voleon logo
Voleon
Hard
Software Engineer

Count White Balls After K Steps

You are given a ring of N positions indexed from 0 to N-1. - At each position i, there is initially one ball whose color is either white or black. - E...

Coding & Algorithms
31
0
271 people solved
Feb 10, 2026
DoorDash logo
DoorDash
Medium
Data Scientist

Diagnose why average waiting time increased

Diagnose Why Average Waiting Time Increased You are a Data Scientist supporting DoorDash logistics. Over the last 1 to 2 weeks, the business metric av...

Analytics & Experimentation
15
0
138 people solved
Jul 7, 2025
Bytedance logo
Bytedance
Medium
Software Engineer

Validate a bracket string

Given a string s containing only the characters '(', ')', '{', '}', '[', and ']', determine whether the input string is valid. A string is valid if: 1...

Coding & Algorithms
5
0
39 people solved
Oct 14, 2025
Airwallex logo
Airwallex
Medium
Data Scientist

How would you test swapping two CTA buttons?

You work on the Airwallex marketing/product landing page. There are two primary CTA buttons: - “See a demo” - “Get started” A proposal suggests swappi...

Analytics & Experimentation
3
0
64 people solved
Oct 14, 2025
Meta logo
Meta
Medium
Data Scientist

Resolve cross-functional conflicts using analytics results

Answer the following behavioral prompts for a data science/product analytics role working cross-functionally (PM, Eng, Ads/Sales): 1) Describe a time ...

Behavioral & Leadership
2
0
36 people solved
Oct 14, 2025
Meta logo
Meta
Medium
Data Scientist

Compute posterior fake probability using Bayes' rule

A platform runs an automated detector to flag fake accounts. - Prior probability an account is fake: \(P(F)=0.02\). - True positive rate (sensitivity)...

Statistics & Math
10
0
73 people solved
Oct 14, 2025
Meta logo
Meta
Medium
Data Scientist

Propose an ads recommendation model for shop ads

You need to propose a modeling approach for recommending/ranking shop ads (i.e., which shop ads to show and in what order) for a marketplace app. Desc...

Machine Learning
5
0
43 people solved
Oct 14, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Implement a Tic-Tac-Toe game class

Problem Implement a class that supports playing an n × n Tic-Tac-Toe game. Requirements Create a class TicTacToe(n) with: - move(row, col, player) -> ...

Coding & Algorithms
6
0
69 people solved
Oct 14, 2025
Jane Street logo
Jane Street
Medium
Data Scientist

Solve queue switch and coin change puzzles

This entry contains two separate interview-style quantitative/algorithmic questions. --- 1. Queue switching decision problem You are standing in a sin...

Coding & Algorithms
17
0
149 people solved
Oct 14, 2025
Apple logo
Apple
Medium
Data Scientist

Remove shortest subarray to sort array

Given an integer array nums (length up to 2×10^5), return the shortest subarray [L,R] you can remove so that the remaining elements form a non‑decreas...

Coding & Algorithms
5
0
66 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist Locked

Design a robust traffic forecasting pipeline

This question evaluates a candidate's competency in end-to-end time-series forecasting pipeline design, covering data cleaning and missing-value handl...

Machine Learning
5
0
42 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist

Build and evaluate donation propensity model

You need a model to maximize expected net revenue from solicitations. Costs: online reach costs $1 per person; gala attendance costs $100 per attendee...

Machine Learning
5
0
69 people solved
Oct 13, 2025