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 15 results
Role
Disney logo
Disney
Medium
Data Engineer

Generate All Well-Formed Parenthesis Strings

A string of parentheses is called well-formed if every opening bracket ( has a matching closing bracket ) and the brackets are correctly nested. For e...

Coding & Algorithms
0
0
5 people solved
Feb 20, 2026
Interactive logo
Interactive
Medium
Data Engineer

Compute Minimum Production Days

Question You are given a list of product IDs products, where products[i] is the type of the product that must be produced at step i, and a non-negativ...

Coding & Algorithms
6
0
58 people solved
Jan 25, 2026
xAI logo
xAI
Medium
Data Engineer

Implement two string utility functions

Implement the following Python functions: 1. number_of_character(string, char) - Return the number of times character char appears in string. - ...

Coding & Algorithms
5
0
66 people solved
Jan 17, 2026
Shopify logo
Shopify
Easy
Data Engineer Locked

Write SQL for session analytics

This question evaluates SQL proficiency and data engineering competencies, including deduplication, joins, time-series aggregation, rolling-window cal...

Coding & Algorithms
20
0
179 people solved
Jan 17, 2026
Stripe logo
Stripe
Easy
Data Engineer Locked

Compute shipping cost with tiered pricing

This question evaluates the ability to implement tiered billing and aggregate shipping costs across order line items, testing competencies in algorith...

Coding & Algorithms
6
0
71 people solved
Jan 17, 2026
Bytedance logo
Bytedance
Hard
Data Engineer

Maximize watch time under adjacency constraint

You are given a sequence of videos in a feed. - Input: - An integer array duration[1..n], where duration[i] is the length of video i in seconds. -...

Coding & Algorithms
4
0
49 people solved
Jan 2, 2026
Meta logo
Meta
Hard
Data Engineer

Compute Max Score From Up to 3 Categories

You are implementing a scoring function for a library summer reading program. Each book a student read is represented as a tuple (category: str, point...

Coding & Algorithms
7
0
62 people solved
Dec 2, 2025
Apple logo
Apple
Easy
Data Engineer

Implement most_frequent_key without using max()

Problem (Python OOP) You are given two classes. Parent precomputes frequency counts of items (as strings) from an input list. `python class Parent: ...

Coding & Algorithms
10
0
88 people solved
Nov 16, 2025
TikTok logo
TikTok
Hard
Data Engineer

Count islands using BFS without modifying grid

You are given an m x n binary grid grid where: - 1 represents land - 0 represents water - Islands are groups of horizontally or vertically adjacent la...

Coding & Algorithms
6
0
74 people solved
Oct 19, 2025
Meta logo
Meta
Medium
Data Engineer

Validate alternating checkout/return logs

Given a chronological list of events logs of the form (timestamp, book_id, is_checkout) where is_checkout is True for a checkout and False for a retur...

Coding & Algorithms
8
0
59 people solved
Sep 6, 2025
Bloomberg logo
Bloomberg
Medium
Data Engineer

Implement classes within an abstract Python framework

You are given an existing Python codebase (~200 lines shown) that defines an abstract base class DataProcessor with abstract methods load(self), trans...

Coding & Algorithms
6
0
65 people solved
Sep 6, 2025
Meta logo
Meta
Medium
Data Engineer

Recommend friends-of-friends

Question Given a dictionary such as {A:[B,C], B:[C,D], C:[E]}, return for a user U all people followed by U’s followees but not already followed by U....

Coding & Algorithms
3
1
65 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Engineer

Check carpool trip feasibility

You are given a list of trips where each trip i is (passengers_i, start_i, end_i) with start_i < end_i on a one-dimensional route. A single vehicle wi...

Coding & Algorithms
6
0
77 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Engineer

Solve library coding tasks in Python

Solve library coding tasks in Python Implement the following Python tasks: 1) Given a list of (category, points) for books, choose up to 3 books with ...

Coding & Algorithms
12
0
86 people solved
Jul 16, 2025
Google logo
Google
Medium
Data EngineerIntern

Count Special Index Pairs

Given an integer array nums of length n, count the number of index pairs (i, j) such that: - 0 <= i < j < n - nums[i] * nums[j] is even - j - i is odd...

Coding & Algorithms
2
0
39 people solved
Jan 26, 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