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
Apple logo
Apple
Medium
Software Engineer

Implement a robust socket message reader

Implement Message Framing Readers for TCP Sockets Context You are given a TCP socket. Each call to recv(k) may return any number of bytes up to k; in ...

System Design
6
0
118 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Hard
Software Engineer

Design credit balance with vector-clock expirations

Credit Balance Service with Vector-Clock Expiries You are designing a backend service that maintains per-user promotional credits. Credits are granted...

System Design
13
0
150 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Implement autocomplete with top-K suggestions

Implement an autocomplete component that, given a history of query strings with frequencies, returns the top K suggestions for an input prefix in real...

Coding & Algorithms
2
0
43 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design a configuration subscription service

System Design: Configuration Service with Subscriptions Context Design a multi-tenant configuration service that stores key–value configuration and le...

System Design
9
0
70 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design real-time top-K products service

Question Design a real-time service that ingests a continuous stream of purchase events with the schema (customer_id, item_id, timestamp) and continuo...

System Design
9
0
108 people solved
Sep 6, 2025
Lyft logo
Lyft
Medium
Software Engineer

Explain resume projects and behavioral responses

Behavioral Interview Prompt (STAR) Context: You are interviewing for a Software Engineer role in an onsite behavioral/leadership round. Using the STAR...

Behavioral & Leadership
3
0
65 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Explain Logistic Regression Fundamentals

Logistic Regression from First Principles Assumptions and Notation - Binary classification with labels y ∈ {0, 1} and features x ∈ R^d. - Linear score...

Machine Learning
4
0
64 people solved
Sep 6, 2025
Cerebras logo
Cerebras
Hard
Software Engineer

Design a Multi-Channel Message Queue

Design a Message Queue with Multi-Channel Messages and Channel-Based Subscriptions Context You are asked to design a message-queue data structure wher...

System Design
11
0
98 people solved
Sep 6, 2025
Oracle logo
Oracle
Hard
Software Engineer

Design scalable, highly available GenAI serving

System Design: Highly Scalable, Highly Available Generative AI Inference Platform Context Design a production-grade deployment for a generative AI tex...

ML System Design
2
1
54 people solved
Sep 6, 2025
Oracle logo
Oracle
Medium
Software Engineer

Solve three DSA problems: trie, window, intervals

1) Design and implement an autocomplete service. Support insert(word) to add a word and suggest(prefix) to return up to five existing words that start...

Coding & Algorithms
4
0
79 people solved
Sep 6, 2025
Stripe logo
Stripe
Medium
Software Engineer

Discuss compensation, culture, and IPO considerations

Behavioral Interview Practice: Compensation, Retention, Culture, and IPO You are interviewing onsite for a Software Engineer role. Prepare concise, pr...

Behavioral & Leadership
7
0
47 people solved
Sep 6, 2025
Coinbase logo
Coinbase
Hard
Software Engineer

Design scheduled payments and cancellation

Question Design a scheduled payments service for Coinbase that lets users create, list, update, execute, and cancel future-dated payments — both one-t...

System Design
6
0
109 people solved
Sep 6, 2025
Amazon logo
Amazon
Hard
Software Engineer

Design secure multi-tier cloud infrastructure

System Design: Multi-tier VPC Architecture for a Large-Scale Application You are designing and deploying a production-ready, multi-tier network on AWS...

System Design
7
0
72 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Optimize with a cache/hash map

Question This is a follow-up to your existing implementation (for example, a script that repeatedly resolves file paths or parses license strings into...

Coding & Algorithms
4
0
85 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Software Engineer

Describe toughest challenge and resolution

Behavioral Prompt: Most Challenging Recent Problem (Technical Screen) Provide a concise, structured response (2–3 minutes spoken) that covers: 1. What...

Behavioral & Leadership
6
0
39 people solved
Sep 6, 2025
Airbnb logo
Airbnb
Hard
Software Engineer

Design a multi-channel notification system

System Design: Multi-Channel Notifications (Email, SMS, Push, In‑App) Context Design a notification platform that reliably delivers messages across mu...

System Design
10
0
200 people solved
Sep 6, 2025
Lyft logo
Lyft
Hard
Software Engineer

Design a distributed web crawler

System Design: Distributed Web Crawler (1,000 Heterogeneous Workers) Context You are asked to design a production-grade web crawler that begins from a...

System Design
14
0
172 people solved
Sep 6, 2025
BlackRock logo
BlackRock
Medium
Data Scientist

Discuss the future of quantitative finance

Outlook on Quantitative Finance (Next 5–10 Years) Context: You are interviewing for a data-focused role in quantitative finance. Provide a concise, st...

Behavioral & Leadership
6
0
105 people solved
Sep 6, 2025
Akuna Capital logo
Akuna Capital
Hard
Software Engineer

Maximize Distinct Values with Cross-Array Swaps

Maximize Distinct Values with Cross-Array Swaps Given arrays a and b of equal length and an integer k, perform at most k swaps. Each swap chooses one ...

Coding & Algorithms
0
0
1 people solved
May 24, 2026
Illumio logo
Illumio
Medium
Software Engineer Locked

Design Multicloud Publishing and API Gateway

This question evaluates understanding of distributed systems and cloud architecture, covering reliable database-to-multicloud event publishing (messag...

System Design
4
0
26 people solved
May 24, 2026