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
Bitkernel logo
Bitkernel
Hard
Software Engineer

Implement popup and redirect in JavaScript

You are working in a browser environment and must use vanilla JavaScript only (no external libraries). Task Implement a function showPopupAndRedirect(...

Coding & Algorithms
2
0
42 people solved
Oct 3, 2025
Chicago logo
Chicago
Easy
Software Engineer

Merge Nested Dictionaries Iteratively

Given a list of Python dictionaries, merge them into a single dictionary without using recursion. Rules: - Process the dictionaries from left to right...

Coding & Algorithms
3
0
49 people solved
Feb 2, 2026
Ziprecruiter logo
Ziprecruiter
Medium
Software Engineer Locked

Design a voting counter for restaurants

This question evaluates familiarity with hash-table–based counting, efficient update and lookup operations, handling of ties with a deterministic tie-...

Coding & Algorithms
4
0
33 people solved
Feb 2, 2026
Meta logo
Meta
Medium
Software Engineer

Design keyword search for social posts

Design a Facebook-like post search feature: - Input: one or more keywords. - Output: all (or top-K) posts that contain the keyword(s). - Assume posts ...

System Design
4
0
31 people solved
Oct 2, 2025
Pinterest logo
Pinterest
Easy
Data Scientist Locked

Implement np.random.choice

This question evaluates understanding of random sampling algorithms, probability distributions (uniform and weighted), handling of weights and edge-ca...

Coding & Algorithms
5
0
47 people solved
Feb 1, 2026
Google logo
Google
Easy
Data Scientist Locked

Implement sampling, subarray scan, and percentile estimate

This multi-part problem evaluates skills in random sampling and geometric probability for uniform 2D sampling, algorithmic array processing for findin...

Coding & Algorithms
8
1
84 people solved
Feb 1, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist

Compute each member’s current notification status

Question You are given two tables describing LinkedIn members’ push-notification settings. Compute each member’s current notification status as of 202...

Data Manipulation (SQL/Python)
9
0
102 people solved
Feb 1, 2026
Meta logo
Meta
Medium
Data Scientist

Evaluating the Impact of Duplicate and Stolen Posts on a Content Platform

Evaluating the Impact of Duplicate and Stolen Posts on a Content Platform You are a data scientist at a large user-generated-content platform (think a...

Analytics & Experimentation
0
0
10 people solved
Feb 1, 2026
Meta logo
Meta
Medium
Data Scientist

Posts and Replies Engagement

Posts and Replies Engagement A content platform stores user-generated posts and the replies that those posts receive. You need to answer two questions...

Data Manipulation (SQL/Python)
0
0
8 people solved
Feb 1, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Find the First Working Version

This question evaluates understanding of search algorithms, version normalization, and monotonic predicates, along with competency in parsing and orde...

Coding & Algorithms
3
0
20 people solved
Feb 1, 2026
Stripe logo
Stripe
Medium
Software Engineer Locked

Implement a Datacenter Request Router

This question evaluates command parsing, stateful data structure management, input validation, geospatial computation using the Haversine formula, det...

Coding & Algorithms
4
0
31 people solved
Feb 1, 2026
Sap logo
Sap
Medium
Software Engineer Locked

Implement JavaScript utility and API functions

This question evaluates JavaScript fundamentals including string and numeric operations, array transformation and grouping, functional concepts such a...

Coding & Algorithms
2
0
30 people solved
Feb 1, 2026
Medium
Software Engineer

4.2 Design a Collaborative Document Editor

Real-time collaborative editing is one of those features that feels magical when it works — and absolutely nightmarish to build from scratch. Google D...

System Design
14
1
181 people solved
Jan 31, 2026
Snapchat logo
Snapchat
Medium
Software Engineer Locked

Implement a recent-use eviction cache

This question evaluates a candidate's ability to design and implement a fixed-capacity key-value cache with a recent-use eviction policy, emphasizing ...

Coding & Algorithms
1
0
28 people solved
Sep 29, 2025
Waymo logo
Waymo
Hard
Machine Learning Engineer

Generate Instructions for a Blind Maze Robot

You are given a known 2D maze grid with m rows and n columns. Each cell is one of: - #: wall - .: empty cell - E: the exit, which appears exactly once...

Coding & Algorithms
1
0
10 people solved
Jan 31, 2026
IBM logo
IBM
Medium
Software Engineer

Maximize palindromic strings after character swaps

You are given an integer n and an array of n lowercase strings arr. Operation (can be performed any number of times): choose two different strings arr...

Coding & Algorithms
6
0
71 people solved
Jan 31, 2026
Easy
Data ScientistIntern Locked

Compute multi-step Markov probabilities and estimate transitions

This question evaluates understanding of discrete-time Markov chains, computation of multi-step transition probabilities from a one-step transition ma...

Statistics & Math
3
0
31 people solved
Sep 28, 2025
Uber logo
Uber
Medium
Software Engineer

Solve Prime Jumps and Pipeline Scaling

An online assessment contains two independent coding problems. Solve both. Problem 1: Prime-Constrained Score Jump You are given an integer array scor...

Coding & Algorithms
4
0
44 people solved
Jan 30, 2026
Nuro logo
Nuro
Hard
Machine Learning Engineer

Find Maximum Path Sum in N-ary Tree

You are given the root of an N-ary tree. Each node contains an integer value and a list of zero or more children. A path is a sequence of nodes where ...

Coding & Algorithms
2
0
34 people solved
Jan 30, 2026
Palo logo
Palo
Easy
Software Engineer

Design a device configuration system

Design a system for about 1,000 admin users to manage configurations for about 1,000 devices. Admins need to update device configuration every day. Ex...

System Design
2
0
34 people solved
Jan 30, 2026