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

Implement string/matrix simulations and counting pairs

This multi-part question evaluates implementation skills in string processing (case-insensitive substring matching), grid simulation with iterative ma...

Coding & Algorithms
8
0
75 people solved
Jan 12, 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
7
0
77 people solved
Jan 12, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Design Slack-like messaging platform

Design a Slack-like team collaboration product. Core features: - Workspaces (tenants), users, and channels (public/private) - Direct messages (1:1 and...

System Design
12
0
96 people solved
Oct 31, 2025
TikTok logo
TikTok
Medium
Software EngineerIntern Locked

Reconstruct a binary tree from traversals

This question evaluates understanding of binary tree traversal properties, data structure manipulation, and algorithmic complexity involved in reconst...

Coding & Algorithms
4
0
34 people solved
Jan 11, 2026
Google logo
Google
Easy
Software Engineer

Describe conflict resolution and stakeholder management

Behavioral Prompt Describe a time when you faced a serious conflict at work (e.g., disagreement on technical direction, priorities, scope, or executio...

Behavioral & Leadership
8
0
74 people solved
Jan 11, 2026
Amperity logo
Amperity
Medium
Software Engineer

Render Overlapping Rectangles on an ASCII Canvas

Render Overlapping Rectangles on an ASCII Canvas Implement render_canvas(width, height, rectangles). The canvas initially contains spaces and is retur...

Coding & Algorithms
0
0
5 people solved
Apr 7, 2026
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
OpenAI logo
OpenAI
Hard
Software Engineer

Implement Disease and Friend Snapshot Models

You are asked to solve two independent coding problems. Problem 1: Simulate disease spread on a contact graph There are n people labeled 0 through n -...

Coding & Algorithms
2
0
22 people solved
Apr 7, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design a Distributed Crossword Solver

This question evaluates proficiency in constraint-solving algorithms and distributed system architecture, including data representation, efficient sea...

System Design
29
0
414 people solved
Apr 7, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Compute Infection Time in a Grid

This question evaluates competence in grid-based graph traversal and simulation of propagation dynamics, focusing on state management, time-step model...

Coding & Algorithms
19
1
183 people solved
Apr 7, 2026
Amazon logo
Amazon
Hard
Software Engineer Locked

Minimize time for two handlers

This question evaluates algorithmic optimization skills and stateful scheduling reasoning, focusing on task assignment trade-offs and cumulative cost ...

Coding & Algorithms
7
0
99 people solved
Apr 7, 2026
Snowflake logo
Snowflake
Medium
Software Engineer

Find Shortest Wiki Click Path

Implement a function that computes the minimum number of clicks needed to navigate from one wiki page to another. You are given two page URIs, start_u...

Coding & Algorithms
6
0
60 people solved
Apr 7, 2026
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Design a Lens Recommendation System

Design a recommendation system for augmented-reality lenses in a social camera application. Your design should cover: - product goals and success metr...

ML System Design
6
0
56 people solved
Jun 28, 2025
Meta logo
Meta
Easy
Data Scientist

Compute probabilities for chatbot response quality

Context A chatbot response is considered good if it is both: - Helpful, and - Honest. You are told: - \(P(\text{Helpful}) = 0.8\) - \(P(\text{Honest})...

Statistics & Math
4
1
89 people solved
Oct 30, 2025
Shopify logo
Shopify
Medium
Software Engineer AI

Implement a Word Guessing Game

Implement a four-letter word guessing game. You are given: - A dictionary containing valid four-letter English words. - A target word selected from th...

Coding & Algorithms
3
0
34 people solved
Jan 10, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Design structure for bottom-K customers by revenue

This question evaluates data structure design and algorithmic complexity for dynamic order-statistics and update operations, focusing on maintaining c...

Coding & Algorithms
7
0
81 people solved
Oct 29, 2025
Walmart Labs logo
Walmart Labs
Hard
Software Engineer

Shortest Talent-Covering Team Starting At Each Index

There are n students in a line. Each student has exactly one talent represented by an integer from 1 to talentsCount. A valid team is a contiguous sub...

Coding & Algorithms
1
0
11 people solved
Apr 6, 2026
Fora Travel logo
Fora Travel
Medium
Software Engineer

Merge Sorted Arrays

You are given two related tasks about sorted integer arrays. 1. Implement a function that takes two arrays sorted in nondecreasing order and returns a...

Coding & Algorithms
0
0
6 people solved
Apr 6, 2026
Grammarly logo
Grammarly
Medium
Software Engineer

Implement a Transactional Key-Value Store

Design an in-memory key-value store that supports transactions. Required operations: - set(key, value): assign or overwrite the value for a key. - get...

Coding & Algorithms
6
0
61 people solved
Apr 6, 2026
Hudson logo
Hudson
Hard
Software Engineer

Why pursue full-stack engineering?

You are interviewing for a full-stack software engineering role. Explain why you are specifically interested in full-stack work instead of focusing on...

Behavioral & Leadership
5
0
45 people solved
Apr 6, 2026