Python Data Structures Interview Questions for Data Scientists

Practice Python interview questions which test Data Structures knowledge. We curated this list to only include frequently asked coding questions for FAANG Data Science jobs (not SWE jobs).

CompanyTitleDifficulty
Capital One icon

Capital One

Base 13 Conversion

Easy
Microsoft icon

Microsoft

Factorial Formula

Easy
Google icon

Google

Fizz Buzz Sum

Easy
Palantir icon

Palantir

Roman to Integer

Easy
Amazon icon

Amazon

Intersection of Two Lists

Easy
TikTok icon

TikTok

Triangular Sum

Easy
Apple icon

Apple

Contains Duplicate

Easy
Tesla icon

Tesla

Counting Letters In Numbers

Easy
Uber icon

Uber

Pascals Triangle

Easy
Spotify icon

Spotify

Is Palindrome

Easy
Oracle icon

Oracle

Arithmetic Triplets

Easy
FAANG icon

FAANG

Gift Card Satisfaction

Medium
Salesforce icon

Salesforce

Matrix Rotation

Medium
Adobe icon

Adobe

Clock-wise Matrix Rotation

Medium
Google icon

Google

Min Amplitude

Medium
Walmart icon

Walmart

Average Subarray

Medium
Swiggy icon

Swiggy

Hill Climbing

Medium
Facebook icon

Facebook

Video Ads Insertion

Medium
Palantir icon

Palantir

Integer to Roman

Medium
FAANG icon

FAANG

Data Conference Attendees

Medium
D.E. Shaw icon

D.E. Shaw

Max Product of Three Numbers

Medium
Amazon icon

Amazon

Two Sum

Medium
Microsoft icon

Microsoft

Rotating Factorial

Medium
AQR icon

AQR

Pearson Correlation Coefficient

Medium
Akuna Capital icon

Akuna Capital

Largest Contiguous Subarray Sum

Medium
Amazon icon

Amazon

Coin Change

Medium
Apple icon

Apple

Word Search

Hard

© 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