Menu

All interview questions
#QuestionTopicDifficultyTypeDone
1How should Airflow retries and idempotency work together?AirflowMediumconceptual, scenario
2ETL vs ELT: what factors decide the choice?Data EngineeringEasyconceptual, architecture
3Data lake vs warehouse vs lakehouse: when would you choose each?Data EngineeringMediumconceptual, architecture
4How would you design an idempotent batch pipeline?Data EngineeringMediumarchitecture, scenario
5How would you investigate a suddenly slower data pipeline?Data EngineeringMediumdebugging, scenario
6What are the most important data-quality checks in production?Data EngineeringMediumconceptual, scenario
7How would you design a CDC pipeline?Data EngineeringHardarchitecture, scenario
8What is Unity Catalog used for?DatabricksEasyconceptual
9What problems does Delta Lake solve?Delta LakeEasyconceptual
10What is schema evolution and when is it safe?Delta LakeMediumconceptual, scenario
11Binary Search: Find a Target in a Sorted Array in O(log n)DSAEasycoding
12Contains Duplicate: Detect Whether Any Value Appears TwiceDSAEasycoding
13Invert Binary Tree: Recursive and Iterative Mirror SolutionsDSAEasycoding
14Linked List Cycle: Floyd's Fast and Slow PointersDSAEasycoding
15Majority Element: Find the Value That Fills More Than Half the ArrayDSAEasycoding
16Maximum Depth of Binary Tree: Recursive DFS, Iterative DFS and BFSDSAEasycoding
17Merge Two Sorted Lists: Dummy Head Iteration and RecursionDSAEasycoding
18Move Zeroes: Shift Zeros to the End While Keeping OrderDSAEasycoding
19Reverse Linked List: Iterative and Recursive SolutionsDSAEasycoding
20Two Sum: Find Two Indices That Add Up to a TargetDSAEasycoding
21Valid Anagram: Check Whether Two Strings Use the Same LettersDSAEasycoding
22Valid Palindrome: Check a Phrase While Ignoring Case and PunctuationDSAEasycoding
233Sum: Find All Unique Triplets That Sum to ZeroDSAMediumcoding
24Add Two Numbers: Digit-by-Digit Addition on Linked ListsDSAMediumcoding
25Clone Graph: Deep-Copy a Connected Graph with a Hash Map and BFS or DFSDSAMediumcoding
26Combination Sum II: Use Each Value Once and Avoid Duplicate AnswersDSAMediumcoding
27Combination Sum: Reach a Target with Reusable Values via BacktrackingDSAMediumcoding
28Container With Most Water: Maximise Area Between Two LinesDSAMediumcoding
29Copy List with Random Pointer: Hash Map and Interleaving SolutionsDSAMediumcoding
30Course Schedule II: Return a Valid Course Order with Topological SortDSAMediumcoding
31Course Schedule: Detect a Cycle in a Prerequisite Graph with Kahn's AlgorithmDSAMediumcoding
32Encode and Decode Strings: Serialise a List of Strings SafelyDSAMediumcoding
33Find First and Last Position of a Value: Lower and Upper Bound Binary SearchDSAMediumcoding
34Find Minimum in Rotated Sorted Array: Binary Search Against the Right EndDSAMediumcoding
35Find the Duplicate Number: Cycle Detection on an ArrayDSAMediumcoding
36Graph Valid Tree: Check Edge Count, Connectivity and Cycles with Union-FindDSAMediumcoding
37Group Anagrams: Bucket Words That Share the Same LettersDSAMediumcoding
38Insert Interval: Add a Range to a Sorted List and Merge OverlapsDSAMediumcoding
39Koko Eating Bananas: Binary Search on the AnswerDSAMediumcoding
40Letter Combinations of a Phone Number: Cartesian Product by BacktrackingDSAMediumcoding
41Longest Consecutive Sequence: Longest Run of Consecutive Integers in O(n)DSAMediumcoding
42LRU Cache: Hash Map Plus Doubly Linked List for O(1) OperationsDSAMediumcoding, architecture
43Max Area of Island: Largest Connected Land Region with Flood FillDSAMediumcoding
44Maximum Subarray: Largest Sum of a Contiguous Slice with Kadane's AlgorithmDSAMediumcoding
45Merge Intervals: Combine Every Overlapping RangeDSAMediumcoding
46Non-overlapping Intervals: Fewest Removals to Eliminate OverlapsDSAMediumcoding
47Number of Connected Components in an Undirected Graph with Union-FindDSAMediumcoding
48Number of Islands: Count Connected Land Cells with BFS, DFS or Union-FindDSAMediumcoding
49Pacific Atlantic Water Flow: Reverse Multi-Source BFS from Both OceansDSAMediumcoding
50Palindrome Partitioning: Split a String into Palindromes by BacktrackingDSAMediumcoding
51Permutations: Every Ordering of Distinct Values with BacktrackingDSAMediumcoding
52Product of Array Except Self: Prefix and Suffix Products Without DivisionDSAMediumcoding
53Redundant Connection: Find the Edge That Closes a Cycle with Union-FindDSAMediumcoding
54Remove Nth Node From End of List: One Pass with a Gap of nDSAMediumcoding
55Reorder List: Find the Middle, Reverse, Then InterleaveDSAMediumcoding
56Rotate Image: Turn a Square Matrix 90 Degrees Clockwise in PlaceDSAMediumcoding
57Rotting Oranges: Minutes to Spread via Level-by-Level Multi-Source BFSDSAMediumcoding
58Search a 2D Matrix: Binary Search over a Flattened Sorted GridDSAMediumcoding
59Search in Rotated Sorted Array: One-Pass Binary SearchDSAMediumcoding
60Set Matrix Zeroes: Zero Out Rows and Columns in PlaceDSAMediumcoding
61Sort Colors: One-Pass Three-Way Partition of 0s, 1s and 2sDSAMediumcoding
62Spiral Matrix: Read a Grid in Clockwise Spiral OrderDSAMediumcoding
63Subarray Sum Equals K: Count Contiguous Slices With a Given SumDSAMediumcoding
64Subsets II: Power Set Without Duplicates When Values RepeatDSAMediumcoding
65Subsets: Generate the Power Set with Include/Exclude BacktrackingDSAMediumcoding
66Surrounded Regions: Capture Enclosed Cells by Flood-Filling from the BorderDSAMediumcoding
67Time Based Key-Value Store: Versioned Lookups with Binary SearchDSAMediumcoding, architecture
68Top K Frequent Elements: Return the k Most Common ValuesDSAMediumcoding
69Two Sum II: Find a Pair With a Target Sum in a Sorted ArrayDSAMediumcoding
70Valid Sudoku: Check Rows, Columns and Boxes for Repeated DigitsDSAMediumcoding
71Word Search: Trace a Word Through a Letter Grid with DFS BacktrackingDSAMediumcoding
72Median of Two Sorted Arrays: Partition Binary Search in O(log min(m, n))DSAHardcoding
73Merge k Sorted Lists: Min-Heap and Divide-and-Conquer SolutionsDSAHardcoding
74N-Queens: Place Non-Attacking Queens Row by Row with BacktrackingDSAHardcoding
75Reverse Nodes in k-Group: In-Place Group Reversal on a Linked ListDSAHardcoding
76Trapping Rain Water: Total Water Held Between Elevation BarsDSAHardcoding
77Word Search II: Find Many Words in a Grid with a Trie and BacktrackingDSAHardcoding
78Explain Kafka partitions and consumer groups.KafkaMediumconceptual, architecture
79What is at-least-once delivery and what problems can it create?KafkaMediumconceptual, scenario
80When should you avoid Python UDFs in PySpark?PySparkMediumconceptual, optimization
81When would you use a broadcast join in Spark?PySparkMediumconceptual, optimization
82Explain shallow copy vs deep copy.PythonEasyconceptual, debugging
83List vs tuple vs set: when would you use each in a data pipeline?PythonEasyconceptual
84What is a generator and why can it help with large datasets?PythonEasyconceptual, coding
85How should exceptions be handled in production data pipelines?PythonMediumconceptual, scenario
86What are Snowflake virtual warehouses?SnowflakeEasyconceptual
87How do micro-partitions affect Snowflake query performance?SnowflakeMediumconceptual, optimization
88What is the difference between a transformation and an action in Spark?Apache SparkEasyconceptual
89Explain Spark jobs, stages and tasks.Apache SparkMediumconceptual
90How does partition count affect Spark performance?Apache SparkMediumoptimization, conceptual
91What causes a shuffle in Spark?Apache SparkMediumconceptual
92What is data skew and how can you mitigate it?Apache SparkHardoptimization, debugging
93Explain INNER JOIN vs LEFT JOIN with a practical example.SQLEasyconceptual, coding
94How do window functions differ from GROUP BY?SQLEasyconceptual, coding
95Customer Lifetime Value: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario
96Daily Active Users: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario
97Find the second-highest salary without using a simple MAX approach.SQLMediumcoding
98How would you detect and remove duplicate records safely?SQLMediumcoding, scenario
99How would you optimize a slow analytical SQL query?SQLHardoptimization, scenario
100Monthly Revenue: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario

Ticks are saved in this browser only. No account needed.

Search
Filter by type