Tech Interview Questions

Practice 9,224+ 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
Atlassian logo
Atlassian
Medium
Software Engineer Locked

Evaluate Architecture and Capacity Trade-offs

This multi-part question evaluates system architecture trade-offs, capacity and storage planning, security-aware component design, and document dedupl...

Software Engineering Fundamentals
1
0
21 people solved
Nov 10, 2025
Glean logo
Glean
Easy
Data Scientist

Compute DAU and rolling MAU with zero days

You have two tables in PostgreSQL: Tables users - user_id (STRING / INT, PK) - signup_date (DATE) logins - user_id (STRING / INT, FK → users.user_id) ...

Data Manipulation (SQL/Python)
5
0
62 people solved
Nov 10, 2025
Reddit logo
Reddit
Medium
Software Engineer

Implement a sliding-window rate limiter

Problem Design and implement an in-memory rate limiter using a sliding time window. You are given a stream of requests. Each request has: - key (e.g.,...

Coding & Algorithms
11
0
129 people solved
Nov 10, 2025
Meta logo
Meta
Medium
Data Scientist

What features and feature selection would you use?

Context You are building an ML system to rank/promote shop ads in an e-commerce feed/search page. At serving time, the system may score candidate shop...

Machine Learning
3
0
32 people solved
Aug 10, 2025
Google logo
Google
Medium
Software Engineer

Handling an Ambiguous "Family Tree" Prompt

Behavioral/Leadership: Handling an Ambiguous "Family Tree" Prompt Context: In a technical screen, the interviewer says only "there is a family tree" a...

Behavioral & Leadership
2
0
52 people solved
Aug 10, 2025
Sybill logo
Sybill
Medium
Software Engineer

Describe a project and ask questions

Describe a project and ask questions Behavioral: Walk Through a Recent Project End-to-End (Software Engineer — Technical Screen) Provide a concise, st...

Behavioral & Leadership
4
0
48 people solved
Aug 10, 2025
Snapchat logo
Snapchat
Medium
Software Engineer

Implement XML tokenizer and parser with operations

Implement XML tokenizer and parser with operations You are given either (a) a raw XML-like string such as <catalog><book><author>Gambardella, Matthew<...

Coding & Algorithms
3
0
67 people solved
Aug 10, 2025
IBM logo
IBM
Easy
Data ScientistIntern

Describe building statistical vs ML models

You’re interviewing for a Data Scientist internship on a marketing analytics team. Tell a story about a project where you built (a) a statistical mode...

Behavioral & Leadership
7
0
56 people solved
Nov 9, 2025
xAI logo
xAI
Easy
Software Engineer

Array vs. Linked List: Differences and When to Use Each

In a technical screening round, the interviewer asks: What are the differences between an array and a linked list? When would you choose one over the ...

Software Engineering Fundamentals
2
0
27 people solved
Aug 9, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain portfolio, design language, and delivery

Explain portfolio, design language, and delivery Prompt: Portfolio Walkthrough, Design Language, and Landing Under Constraints Context You are intervi...

Behavioral & Leadership
5
0
45 people solved
Aug 9, 2025
DoorDash logo
DoorDash
Hard
Software Engineer

Design limited-time donation platform

Design limited-time donation platform System Design: Donations Platform for a Three-Day Global Fundraising Campaign Context You are to design an inter...

System Design
10
0
70 people solved
Aug 9, 2025
Robinhood logo
Robinhood
Medium
Software Engineer

Count Referral Descendants

You are building a referral analytics feature. Each referral relationship is represented as a directed pair (referrer, referredUser), meaning referrer...

Coding & Algorithms
16
0
128 people solved
Feb 26, 2026
Two Sigma logo
Two Sigma
Medium
Data Scientist

Implement merge sort and largest 1-rectangle

The coding round included two algorithm questions: 1. Implement merge sort for an array of integers. Return the sorted array and explain its time and ...

Coding & Algorithms
7
0
53 people solved
Feb 26, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement in-memory KV store with serialization

Implement an in-memory key-value store in Python that supports setting and retrieving values and can serialize and deserialize the entire store. Defin...

Coding & Algorithms
40
0
362 people solved
Aug 8, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Design LLM-enhanced recommendation solutions

Design LLM-enhanced recommendation solutions System Design: Incorporating Large Language Models (LLMs) into a Large-Scale Recommendation System Contex...

ML System Design
5
0
73 people solved
Aug 8, 2025
Amazon logo
Amazon
Medium
Software Engineer

Share examples of impact and simplicity

Share examples of impact and simplicity Behavioral prompt: Exceeding customer expectations and simplifying complex problems Context You are in a softw...

Behavioral & Leadership
5
0
41 people solved
Aug 7, 2025
PayPal logo
PayPal
Medium
Software Engineer

Explain AtomicInteger and ABA problem

Explain AtomicInteger and ABA problem How does AtomicInteger implement atomic updates (e.g., via CAS using Unsafe or VarHandles)? What is the ABA prob...

Coding & Algorithms
4
0
52 people solved
Aug 7, 2025
Meta logo
Meta
Medium
Software Engineer

Group a tree by vertical columns

Group a tree by vertical columns Given the root of a binary tree, produce a vertical listing of nodes: assign each node an x-coordinate (root at x=0; ...

Coding & Algorithms
2
0
32 people solved
Aug 7, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Debug round-robin, DashMap, and simple cache

You are given a service that routes requests to a list of nodes, each marked as either available or unavailable. The pickNode() function is intended t...

Coding & Algorithms
97
0
751 people solved
Aug 7, 2025
Amazon logo
Amazon
Medium
Software Engineer

Assess cooldown and plan interview strategy

Assess cooldown and plan interview strategy Interpreting a One-Year Interview Cooldown and Maximizing Signal in a Three-Part Onsite Context You are pr...

Behavioral & Leadership
3
0
41 people solved
Aug 7, 2025