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

Solve linked list, top-K, and string reduction

Solve linked list, top-K, and string reduction Solve the following algorithmic tasks: 1) Given a singly linked list, return the k-th node from the end...

Coding & Algorithms
5
0
38 people solved
Jul 31, 2025
Fidelity logo
Fidelity
Medium
Software Engineer

Describe Java 8 features

Describe Java 8 features What are the key new features introduced in Java 8? Explain when and how you would use lambda expressions, the Stream API, Op...

Coding & Algorithms
5
0
44 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Describe diving deep into a problem

Describe diving deep into a problem Behavioral: Dive Deep to Resolve a Complex System Issue Prompt Describe a situation where you had to dive deep int...

Behavioral & Leadership
3
0
44 people solved
Jul 31, 2025
Amazon logo
Amazon
Medium
Software Engineer

Respond to negative feedback and exceed requirements

Respond to negative feedback and exceed requirements Behavioral Question: Negative Feedback and Going Beyond Requirements Context: Software Engineer —...

Behavioral & Leadership
7
0
48 people solved
Jul 31, 2025
Applied Intuition logo
Applied Intuition
Medium
Software Engineer

Design duplicate-file detection using size

You are given a large POSIX-like filesystem containing millions of files across nested directories. Design an algorithm to find groups of duplicate fi...

Coding & Algorithms
10
0
77 people solved
Jul 31, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Design query generation to maximize CTR

Design query generation to maximize CTR Design an end-to-end query-generation system that maximizes click-through rate (CTR) for a large-scale search/...

ML System Design
6
0
58 people solved
Jul 31, 2025
Duolingo logo
Duolingo
Medium
Software Engineer

Design an Animal Chess OOP simulation

Design and implement a simplified Animal Chess (Dou Shou Qi) game using object-oriented principles. Include: 1) Piece classes Elephant, Lion, Tiger, L...

Coding & Algorithms
9
0
67 people solved
Jul 31, 2025
Current logo
Current
Medium
Software Engineer

Solve transaction aggregation and search tasks

Solve transaction aggregation and search tasks Complete the following coding tasks: (a) Given a list of transactions, each with userId and amount (cre...

Coding & Algorithms
5
0
89 people solved
Jul 31, 2025
Ambience Healthcare logo
Ambience Healthcare
Medium
Software Engineer

Design a least-recently-used cache

Design a least-recently-used cache Design and implement a least-recently-used (LRU) cache with a fixed capacity. Support get(key) -> value and put(key...

Coding & Algorithms
11
0
96 people solved
Jul 31, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

Analyze time and space complexity

Analyze time and space complexity For any algorithm you implement, analyze its time and space complexity using Big-O notation. Derive and justify the ...

Coding & Algorithms
5
0
60 people solved
Jul 31, 2025
Meta logo
Meta
Medium
Machine Learning Engineer

Implement sliding-window moving average

Design a class MovingAverage that supports a constructor MovingAverage(k) and a method next(val) returning the average of the last k values from a dat...

Coding & Algorithms
5
2
46 people solved
Jul 31, 2025
PayPal logo
PayPal
Medium
Data Scientist

Write conditional aggregates with CASE WHEN

Write conditional aggregates with CASE WHEN Write a query that produces conditional aggregates using CASE WHEN (e.g., counts of approved vs declined t...

Data Manipulation (SQL/Python)
4
0
57 people solved
Jul 31, 2025
PayPal logo
PayPal
Hard
Data Scientist

Assess card transactions and plan risk strategy

Assess card transactions and plan risk strategy Card Fraud Decisions and Cold‑Start Risk Strategy Context You are designing the first version of card ...

Analytics & Experimentation
4
0
60 people solved
Jul 31, 2025
PayPal logo
PayPal
Medium
Data Scientist

Explain past experience and role fit

Explain past experience and role fit Behavioral Prompt: Risk/Fraud Analytics Experience and Role Alignment Context You are interviewing onsite for a D...

Behavioral & Leadership
11
0
80 people solved
Jul 31, 2025
Databricks logo
Databricks
Medium
Software Engineer

Design an IP filter using CIDR rules

Explain CIDR notation with a couple of concrete examples. Show how to convert a prefix like 192.168.0.0/16 into an inclusive 32-bit integer range and ...

Coding & Algorithms
34
0
258 people solved
Jul 31, 2025
Vanta logo
Vanta
Medium
Software Engineer

Design streaming test logger and queries

Implement a streaming logger and two query operations for test runs with globally strictly increasing timestamps. 1) Implement log(test_id, timestamp,...

Coding & Algorithms
17
0
344 people solved
Jul 31, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Compute prices, distances, and Top-K for orders

Compute prices, distances, and Top-K for orders Build functions for a food‑delivery analytics module. Data: - Restaurants: id, (x, y) location, menu m...

Coding & Algorithms
13
0
99 people solved
Jul 31, 2025
xAI logo
xAI
Medium
Software Engineer

Design a Least Frequently Used (LFU) Cache with O(1) Operations

Design and implement a data structure for a least frequently used (LFU) cache. Implement a class LFUCache with the following operations: - LFUCache(in...

Coding & Algorithms
0
0
10 people solved
Jul 30, 2025
Meta logo
Meta
Hard
Software Engineer

Design coding platform leaderboard system

Design coding platform leaderboard system System Design: Scalable Coding Platform with Live Global Leaderboard Context Design a coding challenge platf...

System Design
15
0
83 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Handle feedback and priority conflicts

Handle feedback and priority conflicts Behavioral & Leadership Interview (Software Engineer, Onsite) Context: You will be asked to demonstrate ownersh...

Behavioral & Leadership
24
0
62 people solved
Jul 29, 2025