SQL & Data Interview Questions

Practice the most common SQL, Statistics, ML, and Python questions asked in FAANG Data Science & Data Analyst interviews!

CompanyTitleCategoryDifficultyStatus
Capital One icon

Capital One

Base 13 Conversion

PythonEasy
ServiceNow icon

ServiceNow

Same Stripes

PythonEasy
Microsoft icon

Microsoft

Factorial Formula

PythonEasy
Amazon icon

Amazon

Intersection of Two Lists

PythonEasy
Spotify icon

Spotify

Another One

PythonEasy
Intuit icon

Intuit

Weakest Strong Link

PythonEasy
Google icon

Google

Fizz Buzz Sum

PythonEasy
Fintech icon

Fintech

Compound Interest

PythonEasy
Bloomberg icon

Bloomberg

Collatz Sequence Steps

Premium🔒

PythonEasy
TikTok icon

TikTok

Triangular Sum

PythonEasy
Apple icon

Apple

Contains Duplicate

PythonEasy
Facebook icon

Facebook

Straight Line

Premium🔒

PythonEasy
Palantir icon

Palantir

Roman to Integer

PythonEasy
Tesla icon

Tesla

Counting Letters In Numbers

PythonEasy
Workday icon

Workday

Is Anagram?

PythonEasy
Uber icon

Uber

Pascals Triangle

PythonEasy
Uber icon

Uber

Pascals Triangle (Part 2)

Premium🔒

PythonEasy
Spotify icon

Spotify

Is Palindrome

PythonEasy
FAANG icon

FAANG

Longest Consecutive Sequence

PythonMedium
Fintech icon

Fintech

Looping Number

PythonMedium
FAANG icon

FAANG

Gift Card Satisfaction

PythonMedium
Salesforce icon

Salesforce

Matrix Rotation

PythonMedium
Adobe icon

Adobe

Clock-wise Matrix Rotation

PythonMedium
Google icon

Google

Min Amplitude

PythonMedium
Walmart icon

Walmart

Average Subarray

PythonMedium
Databricks icon

Databricks

k-Radius Average

PythonMedium
FAANG icon

FAANG

Idle GPU Days

PythonMedium
Swiggy icon

Swiggy

Hill Climbing

PythonMedium
Facebook icon

Facebook

Video Ads Insertion

PythonMedium
Walmart icon

Walmart

Spiral Matrix

PythonMedium
Palantir icon

Palantir

Integer to Roman

Premium🔒

PythonMedium
FAANG icon

FAANG

Data Conference Attendees

PythonMedium
Google icon

Google

Most Popular Integers

PythonMedium
Microsoft icon

Microsoft

Factorial Trailing Zeroes

Premium🔒

PythonMedium
Google icon

Google

Smallest Multiple

Premium🔒

PythonMedium
Blackstone icon

Blackstone

Generate Fractions

PythonMedium
D.E. Shaw icon

D.E. Shaw

Max Product of Three Numbers

PythonMedium
Amazon icon

Amazon

Two Sum

PythonMedium
Amazon icon

Amazon

Two Sum (Part 2)

PythonMedium
Amazon icon

Amazon

Two Sum (Part 3)

PythonMedium
Facebook icon

Facebook

Largest Prime Factor

Premium🔒

PythonMedium
Microsoft icon

Microsoft

Rotating Factorial

Premium🔒

PythonMedium
AQR icon

AQR

Pearson Correlation Coefficient

PythonMedium
Microsoft icon

Microsoft

Merge Conflicts

Premium🔒

PythonMedium
Akuna Capital icon

Akuna Capital

Largest Contiguous Subarray Sum

PythonMedium
Amazon icon

Amazon

Coin Change

PythonMedium
Apple icon

Apple

Word Search

PythonHard
Oracle icon

Oracle

Arithmetic Triplets

Premium🔒

PythonEasy
Amazon icon

Amazon

Missing Integer

Premium🔒

PythonEasy
Microsoft icon

Microsoft

Salary Inequity

Premium🔒

PythonEasy
Google icon

Google

Max Profit Trading Stocks

Premium🔒

PythonEasy

Your Progress

0%

Tags

Distinct and Unique Handling

23

Aggregate Functions

84

Set Operations

16

Data Type Conversion

29

Null Handling

7

Percentage Calculations

20

Array Functions

3

Ace the Data Science Interview

28

String Functions

5

Date-Time Functions

30

Control Flow Functions

1

User Behavior

14

Common Table Expressions (CTE) or Subquery

40

Window Functions

38

Data Generation Functions

1

Joins

12

Existence Check

9

Mathematical Functions

20

Conditional Expression

39

Arithmetic Operators

4

Top N Results

12

Conditional Logic

30

© 2025 DataLemur, Inc

Career Resources

Free 9-Day Data Interview Crash CourseFree SQL Tutorial for Data AnalyticsSQL Interview Cheat Sheet PDFUltimate SQL Interview GuideAce the Data Job Hunt Video CourseAce the Data Science InterviewBest Books for Data AnalystsSQL Squid Game