Data Engineer Coding & Algorithms Interview Questions

Practice 55 real Coding & Algorithms interview questions for Data Engineer roles. From companies including Meta, Google, Point72, Stripe, Bytedance.

55 Questions 29 Companies05.27.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Data Engineer

Solve SQL and Python coding tasks

You are given a small library system with the following relational schema and several Python data-processing tasks. Answer the SQL questions and imple...

Coding & Algorithms
64
5
429 people solved
Nov 20, 2025
Amazon logo
Amazon
Easy
Data Engineer

Solve two string problems

You are asked to solve the following two coding problems. 1. Count unique Morse code translations You are given an array of lowercase English w...

Coding & Algorithms
7
0
110 people solved
Jan 24, 2026
Point72 logo
Point72
Easy
Data Engineer Locked

Solve SQL and PySpark Data Tasks

This question evaluates proficiency in SQL query design and PySpark DataFrame manipulation, covering aggregation, filtering, joins, time and numeric f...

Coding & Algorithms
1
0
17 people solved
May 27, 2026
Stripe logo
Stripe
Hard
Data Engineer

Compute transaction fees from a CSV string

You are given a CSV string representing a list of payment transactions. Write a function that parses the CSV and returns a CSV string with the total p...

Coding & Algorithms
12
0
231 people solved
Feb 24, 2026
BlackRock logo
BlackRock
Medium
Data Engineer

Solve two interval array problems

You are given two interval-based tasks from a technical screen for a data engineering role. 1. Merge overlapping intervals - Input: an array of int...

Coding & Algorithms
7
0
80 people solved
Feb 18, 2026
LinkedIn logo
LinkedIn
Medium
Data EngineerSenior+

Implement a stack supporting max and popMax

Design a data structure that behaves like a stack but also supports retrieving and removing the current maximum value. Implement a class MaxStack with...

Coding & Algorithms
9
0
78 people solved
Feb 2, 2026
Figma logo
Figma
Medium
Data Engineer

Write SQL for first share and closest collaborator

You are given event data about users viewing design files. Assume the following tables: - files(file_id, creator_id) - creator_id is a VARCHAR user ...

Coding & Algorithms
34
0
288 people solved
Jan 20, 2026
Nextdoor logo
Nextdoor
Hard
Data Engineer

Write SQL for basic user metrics

You are given a simplified schema for a fictional social app called Nextagram: - users(user_id PK, username, created_at TIMESTAMP) - follows(follower_...

Coding & Algorithms
5
0
88 people solved
Feb 8, 2026
Point72 logo
Point72
Hard
Data Engineer

Implement Portfolio Trading Optimizer

You are given an array prices, where prices[i] is the price of one stock on day i. You may perform multiple buy/sell transactions over the period, but...

Coding & Algorithms
2
0
30 people solved
Apr 30, 2026
Pinduoduo logo
Pinduoduo
Easy
Data EngineerSenior+ Locked

Compute User Login Streaks

This question evaluates SQL proficiency in processing event logs for time-series analysis, encompassing date arithmetic, deduplication of same-day eve...

Coding & Algorithms
5
0
44 people solved
Apr 3, 2026
Meta logo
Meta
Hard
Data Engineer

Write SQL for car rental utilization by city

SQL / Data Query Prompt (Car Rental) You are given four tables: user - user_id location - location_id - city car - car_id - car_size (e.g., compact, m...

Coding & Algorithms
12
2
183 people solved
Dec 1, 2025
Bytedance logo
Bytedance
Medium
Data Engineer Locked

Find Top Creators and Login Streaks

This question evaluates proficiency in data aggregation, algorithmic optimization for top-k retrieval, and SQL time-series analysis using window funct...

Coding & Algorithms
3
0
59 people solved
Mar 12, 2026
Apple logo
Apple
Hard
Data Engineer

Encode and Rebuild a Binary Tree

Design two functions for a binary tree: - encode(root) -> string - decode(data) -> root Each tree node contains an integer value and has up to two chi...

Coding & Algorithms
10
0
86 people solved
Apr 2, 2026
Meta logo
Meta
Medium
Data Engineer Locked

Write queries for follows and bookings

This question evaluates the ability to manipulate temporal event logs, enforce bidirectional relational integrity, and implement efficient graph and i...

Coding & Algorithms
25
1
174 people solved
Mar 1, 2026
Google logo
Google
Medium
Data EngineerIntern

Write SQL and merge linked lists

The technical interview included two coding-style tasks: a SQL analytics query and merging two sorted linked lists. Constraints & Assumptions - For SQ...

Coding & Algorithms
4
1
75 people solved
Mar 9, 2025
Zoox logo
Zoox
Medium
Data EngineerSenior+

Write Transaction Analytics SQL Queries

You are given a credit-card transaction dataset with the following tables. transactions | column | type | description | |---|---|---| | transaction_id...

Coding & Algorithms
0
0
9 people solved
Apr 11, 2026
Zoox logo
Zoox
Medium
Data Engineer

Write SQL revenue and anomaly queries

You are given two tables. Table: transactions | Column | Type | Description | |---|---|---| | transaction_id | int | Unique identifier for each transa...

Coding & Algorithms
4
0
63 people solved
Apr 4, 2026
Capital One logo
Capital One
Medium
Data Engineer

Write SQL using joins and window functions

SQL Coding: Rank within Groups with Joins You are given two tables: accounts - account_id (string) - customer_id (string) - segment (string) — e.g., "...

Coding & Algorithms
28
1
191 people solved
Mar 1, 2026
Tesla logo
Tesla
Medium
Data Engineer Locked

Write SQL Data Transformation Queries

This question evaluates proficiency in SQL data transformation and aggregation, testing competencies such as monthly-reset running totals, hierarchica...

Coding & Algorithms
5
0
41 people solved
May 4, 2026
Netflix logo
Netflix
Hard
Data Engineer Locked

Implement phrase search and JSON path

This question evaluates the ability to build an inverted index for in-memory exact phrase search and to implement JSON path traversal with wildcard ma...

Coding & Algorithms
5
0
49 people solved
Dec 13, 2025

Explore more Data Engineer Coding & Algorithms interview questions

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

Other categories for Data Engineer
Coding & Algorithms questions for other roles
Browse all