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
Amazon logo
Amazon
Easy
Software EngineerIntern Locked

Print all odd numbers from an integer list

This question evaluates proficiency with array/list manipulation, parity checking, and handling edge cases such as negative values and integers outsid...

Coding & Algorithms
6
0
80 people solved
Jan 22, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern

Describe a failure and what you learned

Behavioral Describe a time you failed. - What was the situation and your goal? - What went wrong (your role/responsibility)? - What actions did you ta...

Behavioral & Leadership
7
0
67 people solved
Jan 22, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern Locked

Explain inheritance, polymorphism, constructors, destructors

This question evaluates understanding of object-oriented programming concepts—specifically inheritance, polymorphism, constructors, and destructors—an...

Software Engineering Fundamentals
6
0
63 people solved
Jan 22, 2026
Atlassian logo
Atlassian
Medium
Machine Learning Engineer Locked

Design O(1) cache and moving average

This question evaluates proficiency in data structures and streaming algorithms by combining an O(1) cache design with an eviction policy and a fixed-...

Coding & Algorithms
5
0
64 people solved
Jan 22, 2026
Crowdstrike logo
Crowdstrike
Medium
Software Engineer Locked

Count connected components in a binary grid

This question evaluates understanding of graph traversal and connected-components detection on a 2D grid, measuring the ability to model grid cells as...

Coding & Algorithms
6
0
63 people solved
Jan 22, 2026
Meta logo
Meta
Medium
Software Engineer

Answer core Meta behavioral questions

You are in a behavioral interview for a software engineering role. Answer the following questions with concrete examples from your experience (interns...

Behavioral & Leadership
15
0
109 people solved
Jan 22, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Count islands by requested sizes

This question evaluates a candidate's understanding of grid connectivity, identification of connected components, and the ability to aggregate compone...

Coding & Algorithms
22
0
159 people solved
Jan 22, 2026
Two Sigma logo
Two Sigma
Medium
Data Scientist Locked

Return sorted values after quadratic transform

This question evaluates understanding of mathematical transformations and array manipulation, specifically how applying a quadratic function affects t...

Coding & Algorithms
4
0
70 people solved
Jan 22, 2026
J.P. Morgan logo
J.P. Morgan
Easy
Software Engineer Locked

Design a course registration system

This question evaluates a candidate's ability to design scalable, strongly-consistent, and concurrent systems, testing skills in distributed systems, ...

System Design
9
0
77 people solved
Jan 22, 2026
J.P. Morgan logo
J.P. Morgan
Easy
Software Engineer Locked

Group strings that are anagrams

This question evaluates skills in string manipulation, grouping by character composition, and the use of hashing or sorting techniques to construct ke...

Coding & Algorithms
3
0
40 people solved
Jan 22, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Find longest run of identical consecutive shows

This question evaluates array-manipulation skills and the ability to identify contiguous runs of equal values, emphasizing algorithmic efficiency and ...

Coding & Algorithms
4
0
71 people solved
Jan 22, 2026
Netflix logo
Netflix
Medium
Software Engineer

Dedupe titles in per-shelf viewport

You are rendering a streaming app home page. - The home page consists of shelves displayed from top to bottom. - Each shelf contains a list of titleId...

Coding & Algorithms
12
1
101 people solved
Jan 22, 2026
Airbnb logo
Airbnb
Hard
Software Engineer Locked

Detect overlap of two linked lists with cycles

This question evaluates understanding of linked list data structures, cycle detection techniques, pointer/reference identity, and algorithmic time/spa...

Coding & Algorithms
3
0
47 people solved
Jan 22, 2026
Salesforce logo
Salesforce
Medium
Software Engineer Locked

Write SQL for top spender and non-spenders

This question evaluates SQL querying skills including aggregation and grouping, date/time windowing for previous-calendar-month calculations, joins an...

Software Engineering Fundamentals
7
0
66 people solved
Jan 22, 2026
Salesforce logo
Salesforce
Medium
Software Engineer

Implement a traffic-light UI with JS

Frontend Coding: Traffic Light Build a simple traffic light component using HTML + CSS + JavaScript. Requirements - Render a vertical traffic light wi...

Coding & Algorithms
11
0
163 people solved
Jan 22, 2026
Ge logo
Ge
Medium
Software Engineer

Minimize total distance to a store

Question 1: Choose a CVS location to minimize total distance You are given an M x N grid grid containing only 0 and 1. - grid[r][c] = 1 means there is...

Coding & Algorithms
5
0
41 people solved
Jan 22, 2026
PayPal logo
PayPal
Medium
Software Engineer

Design a Cross-Border Money Transfer Service

Design a cross-border money transfer service similar to a consumer remittance product. Users in one country should be able to send money to recipients...

System Design
4
0
62 people solved
Apr 14, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Build the Largest Available Sequence

This question evaluates algorithmic problem-solving skills in state simulation, constrained selection, and lexicographic sequence maximization, measur...

Coding & Algorithms
5
0
78 people solved
Apr 14, 2026
Airwallex logo
Airwallex
Medium
Data Scientist

Investigate Harassment Surge and Mitigation

Question You work on content integrity. Your monthly moderation analysis shows that the Harassment violation type increased sharply in the most recent...

Analytics & Experimentation
6
0
55 people solved
Nov 14, 2025
Sierra logo
Sierra
Medium
Software Engineer

Process time intervals and detect overlaps/gaps

You are given n time intervals representing debug log segments. Each interval has a start time, an end time, and an associated text message. - Each in...

Coding & Algorithms
39
0
402 people solved
Nov 14, 2025