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.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Design a scalable URL shortener
Design a highly scalable URL shortening service, similar to Bitly or TinyURL. The service converts long URLs into short links and redirects short-code...
Validate an IPv4 address string
Given a string s, determine whether it is a valid IPv4 address. A valid IPv4 address: - Has exactly 4 parts separated by dots (.): x1.x2.x3.x4 - Each ...
Build a Least-Recently-Used Store
Implement an in-memory key-value store with least-recently-used eviction. The store is initialized with a positive integer capacity and supports two o...
Implement a Weighted Eviction Cache
This question evaluates proficiency with data structures and algorithmic design for resource-constrained caching, specifically weight-aware eviction p...
Write SQL for app metrics
You are given a simplified schema for a photo-sharing app: - users(user_id, user_name, joined_at) - photos(photo_id, user_id, created_at) - follows(fo...
Solve Two String Problems
You are asked to solve the following two coding problems: 1. Unique Morse Code Transformations You are given an array of lowercase English words, word...
Compute capacities after site closures
You are given a nested dictionary redistribution where redistribution[closed_site][dest_site] equals the additional capacity required at dest_site if ...
Compute missing letters to form original string
Implement a function that, given two strings original and typed (typed is a misspelled/partial version of original), returns the number of additional ...
Compute shipping cost with tiered pricing
You are building a shipping-cost calculator. Each order contains line items, and shipping rules vary by destination country and product. Assume: - Ord...
Solve four algorithmic library problems
Solve the following coding tasks: 1) Maximum Points from Different Categories: Given an array of items (category, points) and an integer k, choose exa...
Validate carpool capacity
Question LeetCode 1094. Car Pooling – Given trips[i] = [numPassengers, start, end] and an integer capacity, return true if the vehicle can fulfill all...
User Activity Analytics: Unique Users per Activity and Average Time on Site
User Activity Analytics You are given a collection of records, where each record captures a single user's action on a website. Each record is a dictio...
Connect Points With Minimum Total Distance
This question evaluates a candidate's competency in graph modeling, geometric distance metrics, and algorithmic complexity analysis for optimizing tot...
Compute Graph Spread and Portfolio Trades
This question evaluates graph traversal and data-manipulation competencies, combining connected-component analysis on undirected graphs with map-based...
Merge Overlapping Time Intervals
You are given a list of closed time intervals. Each interval is represented as [start, end], where start <= end. Write a function that returns the sma...
Implement Election Report and Banking Pipeline
You are given two independent data engineering coding tasks. Task 1: SQL Election Exit Poll by State Report An election analytics team needs a report ...
Implement a DAG task graph
This question evaluates competency with directed acyclic graphs, graph algorithms (topological sorting), dependency modeling, and implementing data st...
Implement Game Metadata Lookups
You are given a list of game metadata records. Build an in-memory representation that can store each game's name, release date, platforms, genre, publ...
Generate All Valid Combinations of Balanced Parentheses
Generate All Valid Combinations of Balanced Parentheses Given an integer n representing the number of pairs of parentheses, generate all distinct stri...
Aggregate user logs into 30-minute sessions
You are given a CSV file with columns: user_id | log_datetime | topic Example input rows (already in time order for the same user): - 001 | 2025-03-01...