Software Engineer Data Manipulation (SQL/Python) Interview Questions

Practice 55 real Data Manipulation (SQL/Python) interview questions for Software Engineer roles. From companies including Amazon, NVIDIA, DoorDash, Akuna Capital, Stripe.

55 Questions 34 Companies07.14.2026
Showing 20 results
Role
DoorDash logo
DoorDash
Medium
Software Engineer

Compute dasher payout from API data

Given a REST endpoint GET /payout that returns each delivery’s components (base pay, distance/time bonuses, promotions, tips, fees, adjustments, taxes...

Data Manipulation (SQL/Python)
0
0
6 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Software Engineer

Debug a Hive query

You are given a prewritten Hive SQL query that produces incorrect results. Describe how you would debug it: identify logical errors (e.g., join condit...

Data Manipulation (SQL/Python)
0
0
3 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute unique visitors per department from clicks

Given tables Products(product_id, department, category, subcategory) where department > category > subcategory form a hierarchy, and ClickLog(user_id,...

Data Manipulation (SQL/Python)
6
0
58 people solved
Sep 6, 2025
Marshall Wace logo
Marshall Wace
Medium
Software Engineer

Find users with multi-country successful logins

Given a table login_attempts with columns: user_id (TEXT), timestamp (TIMESTAMP), status (TEXT), and country (TEXT), write an SQL query to return the ...

Data Manipulation (SQL/Python)
1
0
13 people solved
Aug 13, 2025
Amazon logo
Amazon
Medium
Software EngineerIntern

Manipulate time-series with Pandas groupby

Given a DataFrame events(user_id, event_type, ts_utc, revenue): 1) Parse ts_utc as timezone-aware, convert to America/Los_Angeles, and handle DST tran...

Data Manipulation (SQL/Python)
0
0
6 people solved
Aug 10, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Compute courier pay with peak-hour rules

Implement compute_pay(deliveries) to calculate a delivery driver's daily pay from a list of delivery records. Each record may include times, miles, ba...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 9, 2025
SIG (Susquehanna) logo
SIG (Susquehanna)
Medium
Software Engineer

Calculate minutes between two time strings

Given two times t1 and t2 in "HH:MM" 24-hour format on the same day with t2 > t1, compute the difference in minutes. Show how you parse the strings, c...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 8, 2025
Oracle logo
Oracle
Medium
Software Engineer

Parse logs and query by time

Implement a parser that converts raw log lines into structured records with fields {timestamp, level, message}. Build an API to support: (a) insert(lo...

Data Manipulation (SQL/Python)
0
0
3 people solved
Aug 7, 2025
Akuna Capital logo
Akuna Capital
Medium
Software Engineer

Answer SQL MCQs with reasoning

Answer multiple-choice questions covering SQL topics: INNER vs LEFT vs RIGHT JOIN semantics; GROUP BY and HAVING; NULL handling in comparisons and agg...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 1, 2025
Peregrine logo
Peregrine
Medium
Software Engineer

Implement pagination and clump grouping

You are given two pre-implemented APIs: ( 1) fetch_activities(page: int) -> { total_pages: int, activities: [ { activity_id: string, type: string, use...

Data Manipulation (SQL/Python)
1
0
8 people solved
Aug 1, 2025
Circle logo
Circle
Medium
Software Engineer

Write PostgreSQL updates with date filters

Write PostgreSQL statements to: ( 1) update a flight's price and set updated_at correctly; ( 2) upsert a booking record with conflict handling; ( 3) s...

Data Manipulation (SQL/Python)
1
0
8 people solved
Jul 17, 2025
Instacart logo
Instacart
Medium
Software Engineer

Implement a pivot table transformation

Given a dataset of transactions with columns: user_id (string), category (string), subcategory (string), amount (float), ts (ISO timestamp), implement...

Data Manipulation (SQL/Python)
0
0
10 people solved
Jul 15, 2025
Bilt Rewards logo
Bilt Rewards
Medium
Software Engineer

Write SQL to Join Merchants and Triple Restaurant Points

You are given: ( 1) a CSV file merchants.csv with columns: merchant_name, merchant_code, category; ( 2) a database table transactions(user_id INT, mer...

Data Manipulation (SQL/Python)
0
0
5 people solved
Sep 6, 2025
Stripe logo
Stripe
Medium
Software Engineer

Design payment-to-invoice matcher with priorities

Design and implement a payment-to-invoice matcher. Inputs: (a) invoices, a list like ["invoice-id-1, 10000, 2022-01-01", "invoice-id-2, 30000, 2022-01...

Data Manipulation (SQL/Python)
1
0
8 people solved
Sep 6, 2025
NVIDIA logo
NVIDIA
Medium
Software Engineer

Implement 2D convolution using NumPy slicing

Implement 2D convolution on a 4×4 input and a 3×3 filter with stride 1 using NumPy. Avoid explicit Python loops by relying on array slicing, broadcast...

Data Manipulation (SQL/Python)
0
0
5 people solved
Sep 6, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Implement a gig worker payout calculator

Implement a payout calculator for gig workers (e.g., delivery drivers). Given a list of completed orders with timestamps, distances, and tips, plus po...

Data Manipulation (SQL/Python)
1
0
20 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find returning users from access logs

Given a large user access log, parse it and identify which user_ids are returning customers—i.e., they have at least one visit on two or more distinct...

Data Manipulation (SQL/Python)
0
0
5 people solved
Sep 6, 2025
Akuna Capital logo
Akuna Capital
Medium
Software Engineer

Evaluate SQL expressions for zero

Which of the following SQL expressions evaluate to 0? Evaluate each independently, justify the result, and note any dialect-specific behavior (e.g., M...

Data Manipulation (SQL/Python)
0
0
5 people solved
Sep 6, 2025
Disney logo
Disney
Medium
Software Engineer

Implement Spring MVC to find top-enrolled course

Implement a Spring MVC service that returns the course with the highest number of enrolled students from a relational database pre-populated by provid...

Data Manipulation (SQL/Python)
0
0
9 people solved
Sep 6, 2025
Adobe logo
Adobe
Medium
Software Engineer

Implement scalable word count locally

Write a function that reads a very large text file and outputs the frequency of each word. Define your tokenization and normalization rules (case fold...

Data Manipulation (SQL/Python)
0
0
19 people solved
Sep 6, 2025

Explore more Software Engineer Data Manipulation (SQL/Python) interview questions

Real questions from candidate reports, grouped by company, topic and role.

Other categories for Software Engineer
Data Manipulation (SQL/Python) questions for other roles
Browse all