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
Lila logo
Lila
Medium
Machine Learning Engineer Locked

Debug a Transformer bug in an unfamiliar repo

This question evaluates proficiency in debugging Transformer implementations, encompassing codebase navigation, tensor shape and broadcasting reasonin...

Software Engineering Fundamentals
5
0
60 people solved
Jan 9, 2026
Citadel logo
Citadel
Medium
Software Engineer Locked

Design a token manager with lazy expiration

This question evaluates time-based data structure design and algorithmic reasoning for managing expiring items, focusing on hashing, timestamp orderin...

Coding & Algorithms
11
0
92 people solved
Jan 9, 2026
Apple logo
Apple
Easy
Data Scientist

Write queries to compute salary and budget stats

You are given the following interview tasks. Write solutions in SQL and/or Python (pandas) as appropriate. Task 1 — Second highest salary You have a t...

Data Manipulation (SQL/Python)
10
0
73 people solved
Aug 24, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve Two OA Algorithm Problems

The post describes two separate coding questions from an online assessment: 1. Greedy deletion by minimum value Given an integer array nums, repeate...

Coding & Algorithms
14
0
172 people solved
Jan 8, 2026
Uber logo
Uber
Easy
Data ScientistIntern

Design an Uber feature and analyze safety

You are interviewing for a Data Scientist summer internship at a ride-sharing marketplace. Part A: Product case Uber wants ideas for a new rider-facin...

Analytics & Experimentation
8
0
54 people solved
Jan 8, 2026
Applied logo
Applied
Medium
Software Engineer Locked

Parse a protobuf-like schema and answer queries

This question evaluates proficiency in parsing grammar-like schemas, scope-based name resolution for nested types, symbol-table construction, and desi...

Coding & Algorithms
2
0
23 people solved
Jan 8, 2026
Uber logo
Uber
Hard
Software Engineer Locked

Solve jump maximization and palindromic path queries

This pair of problems evaluates algorithmic problem-solving skills: the first assesses array-based path optimization and stateful score maximization u...

Coding & Algorithms
9
0
86 people solved
Jan 8, 2026
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Implement exponentiation and fill grid distances

This question evaluates algorithmic problem-solving skills in the Coding & Algorithms domain, specifically numeric algorithms for fast exponentiation ...

Coding & Algorithms
4
0
86 people solved
Jan 8, 2026
SoFi logo
SoFi
Easy
Software Engineer Locked

Find maximum-occurring character in a string

This question evaluates proficiency in string manipulation and frequency counting, including correct handling of tie-breaking by earliest first occurr...

Coding & Algorithms
5
0
69 people solved
Jan 7, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Implement a Tic-Tac-Toe game API

This question evaluates implementation skills in data structures and algorithmic optimization, focusing on efficient state tracking and constant-time ...

Coding & Algorithms
14
0
101 people solved
Jan 7, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Convert an IP range to minimal CIDRs

This question evaluates understanding of IPv4 address encoding, binary and bitwise operations, and optimal interval covering for expressing consecutiv...

Coding & Algorithms
6
0
48 people solved
Jan 7, 2026
Databricks logo
Databricks
Medium
Machine Learning Engineer Locked

Implement a Lazy Array

This question evaluates understanding of lazy evaluation and deferred computation, implementation of iterator/generator-like abstractions, and the abi...

Coding & Algorithms
1
0
12 people solved
Jan 6, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Crawl Same-Domain Links

Implement a Python function that crawls a website starting from a seed URL and returns all unique pages reachable within the same domain. Assume a hel...

Coding & Algorithms
16
0
114 people solved
Jan 6, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Implement an expiring counter class

This question evaluates a candidate's competency in implementing a sliding-window expiring counter, testing knowledge of streaming algorithms, data st...

Coding & Algorithms
10
0
90 people solved
Jan 6, 2026
Capital One logo
Capital One
Hard
Machine Learning Engineer Locked

Support updates and count target-sum pairs

This question evaluates data structures and algorithmic skills for dynamic pair counting, focusing on frequency management, efficient update handling,...

Coding & Algorithms
7
0
73 people solved
Jan 6, 2026
Capital One logo
Capital One
Hard
Machine Learning Engineer Locked

Compute minutes since last train departure

This question evaluates time arithmetic and handling of cyclic day-wrap boundary conditions along with parsing and comparison of timestamp lists, refl...

Coding & Algorithms
7
0
46 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Maximize sum without choosing adjacent elements

This question evaluates a candidate's understanding of array-based optimization and dynamic programming concepts for computing a maximum sum under non...

Coding & Algorithms
8
0
70 people solved
Jan 6, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Validate parentheses and find k-th largest

This pair of problems evaluates mastery of fundamental data structures and algorithmic techniques: Problem A tests understanding of stack-based parsin...

Coding & Algorithms
6
0
65 people solved
Jan 6, 2026
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Reconstruct route from unordered travel tickets

This question evaluates understanding of directed graph concepts and sequence reconstruction, assessing the ability to reason about ordered relationsh...

Coding & Algorithms
12
0
200 people solved
Jan 6, 2026
Microsoft logo
Microsoft
Medium
Machine Learning EngineerSenior+ Locked

Infer user intent from typing in real time

This question evaluates machine learning system design competency in streaming, low-latency intent inference from typing and UI context, covering priv...

ML System Design
4
0
76 people solved
Jan 6, 2026