Menu

Start with a question bank

568 of these questions sit in 11 "Top" lists, one page per topic, ordered from freshers to experienced.

Every question

"Question bank" rows open the answer on its Top list; the others are in-depth answers on their own page, many with runnable examples. Filter by topic, difficulty or type.

Showing 945 of 945 questions · 0 done

All Data Engineer interview questions
#QuestionTopicDifficultyTypePractiseDone
1What does a data engineer do, and how is the role different from data scientist and analytics engineer?Data EngineeringEasyquestion bank—
2What is a data warehouse, and how is it different from an operational database?Data EngineeringEasyquestion bank—
3OLTP vs OLAP: what are the design differences?Data EngineeringEasyquestion bank—
4Star schema vs snowflake schema: when would you pick each?Data EngineeringEasyquestion bank—
5Surrogate keys vs natural keysData EngineeringEasyquestion bank—
6What are Slowly Changing Dimensions? Explain Types 0, 1, 2 and 3Data EngineeringEasyquestion bank—
7Normalisation (1NF–3NF), and when to denormaliseData EngineeringEasyquestion bank—
8Conceptual, logical and physical data modelsData EngineeringEasyquestion bank—
9ETL vs ELTData EngineeringEasyquestion bank—
10What are the components of a data pipeline?Data EngineeringEasyquestion bank—
11Full load vs incremental loadData EngineeringEasyquestion bank—
12Batch vs stream processingData EngineeringEasyquestion bank—
13Data lake vs data warehouse vs lakehouseData EngineeringEasyquestion bank—
14What is the medallion (bronze/silver/gold) architecture?Data EngineeringEasyquestion bank—
15What are the dimensions of data quality?Data EngineeringEasyquestion bank—
16What is Apache Airflow? Explain DAGs, tasks and operatorsData EngineeringEasyquestion bank—
17Row-oriented vs columnar file formatsData EngineeringEasyquestion bank—
18Parquet vs ORC vs AvroData EngineeringEasyquestion bank—
19What is idempotency, and why is it critical in pipelines?Data EngineeringEasyquestion bank—
20Horizontal vs vertical scalingData EngineeringEasyquestion bank—
21Kafka core concepts: broker, topic, partition, offset, replicationData EngineeringEasyquestion bank—
22Map the core AWS data services (S3, Glue, EMR, Redshift, Kinesis, Athena)Data EngineeringEasyquestion bank—
23Map the core Azure data services (ADLS Gen2, ADF, Synapse/Fabric, Event Hubs)Data EngineeringEasyquestion bank—
24Map the core GCP data services (GCS, BigQuery, Dataflow, Dataproc, Pub/Sub, Composer)Data EngineeringEasyquestion bank—
25Object vs block vs file storageData EngineeringEasyquestion bank—
26What is data governance? Catalog, ownership, stewardshipData EngineeringEasyquestion bank—
27Encryption at rest and in transit, and key managementData EngineeringEasyquestion bank—
28How do you manage secrets in pipelines?Data EngineeringEasyquestion bank—
29What does CI/CD mean for data pipelines?Data EngineeringEasyquestion bank—
30Git branching strategies for data teamsData EngineeringEasyquestion bank—
31Kimball vs Inmon: compare the two warehouse methodologiesData EngineeringMediumquestion bank—
32Explain transactional, periodic snapshot and accumulating snapshot fact tablesData EngineeringMediumquestion bank—
33What are additive, semi-additive and non-additive measures?Data EngineeringMediumquestion bank—
34What is a conformed dimension, and why does it matter for an enterprise bus matrix?Data EngineeringMediumquestion bank—
35What is the grain of a fact table, and how do you declare it?Data EngineeringMediumquestion bank—
36How do you design and load an SCD Type 2 dimension?Data EngineeringMediumquestion bank—
37Junk, degenerate and role-playing dimensionsData EngineeringMediumquestion bank—
38What is a factless fact table?Data EngineeringMediumquestion bank—
39One Big Table (wide denormalised) vs dimensional modelData EngineeringMediumquestion bank—
40How do you model event or clickstream data?Data EngineeringMediumquestion bank—
41High-watermark incremental loading and its pitfallsData EngineeringMediumquestion bank—
42Event time vs processing time vs ingestion timeData EngineeringMediumquestion bank—
43What is a data swamp, and how do you prevent one?Data EngineeringMediumquestion bank—
44How do you build data quality checks into a pipeline?Data EngineeringMediumquestion bank—
45Data observability vs data quality testingData EngineeringMediumquestion bank—
46How do you handle bad records: quarantine tables and dead-letter queuesData EngineeringMediumquestion bank—
47Airflow architecture: scheduler, executor, workers, metadata DB, API serverData EngineeringMediumquestion bank—
48What are XComs, and what are their limits?Data EngineeringMediumquestion bank—
49Airflow catchup, backfill, start_date and logical dateData EngineeringMediumquestion bank—
50How do you make Airflow tasks idempotent and safe to retry?Data EngineeringMediumquestion bank—
#QuestionTopicDifficultyTypePractiseDone
51Airflow vs Dagster vs Prefect vs cloud-native orchestratorsData EngineeringMediumquestion bank—
52What is Change Data Capture? Log-based vs query-based vs trigger-basedData EngineeringMediumquestion bank—
53How do you handle deletes in CDC: soft vs hard deletesData EngineeringMediumquestion bank—
54How do you choose a partition key, and what is over-partitioning?Data EngineeringMediumquestion bank—
55What is the small-files problem, and how do you fix it?Data EngineeringMediumquestion bank—
56Compression codecs: Snappy vs ZSTD vs GzipData EngineeringMediumquestion bank—
57Explain the CAP theorem (and PACELC) for data engineersData EngineeringMediumquestion bank—
58Kafka consumer groups and rebalancingData EngineeringMediumquestion bank—
59What ordering guarantees does Kafka provide?Data EngineeringMediumquestion bank—
60What is a schema registry, and what are compatibility modes?Data EngineeringMediumquestion bank—
61Kafka vs Kinesis vs Pub/Sub vs Event HubsData EngineeringMediumquestion bank—
62Serverless vs provisioned compute for data workloadsData EngineeringMediumquestion bank—
63AWS Glue: crawlers, Data Catalog and Glue jobsData EngineeringMediumquestion bank—
64RBAC vs ABACData EngineeringMediumquestion bank—
65How do you protect PII: masking, tokenisation, hashing, encryptionData EngineeringMediumquestion bank—
66What is data lineage, and how is it captured?Data EngineeringMediumquestion bank—
67The testing pyramid for data pipelinesData EngineeringMediumquestion bank—
68Dev/test/prod environments and promoting data codeData EngineeringMediumquestion bank—
69Infrastructure as Code (Terraform) for data platformsData EngineeringMediumquestion bank—
70General principles of cloud data cost optimisationData EngineeringMediumquestion bank—
71Storage tiering and lifecycle policiesData EngineeringMediumquestion bank—
72FinOps: tagging, chargeback and showbackData EngineeringMediumquestion bank—
73Spot/preemptible and reserved capacity for data workloadsData EngineeringMediumquestion bank—
74What is reverse ETL?Data EngineeringMediumquestion bank—
75What is a semantic/metrics layer?Data EngineeringMediumquestion bank—
76SCD Types 4, 5 and 6 (hybrid): when are they used?Data EngineeringHardquestion bank—
77How do you model many-to-many relationships with bridge tables?Data EngineeringHardquestion bank—
78Data Vault 2.0: hubs, links and satellitesData EngineeringHardquestion bank—
79Walk me through modelling a new business domain from raw requirementsData EngineeringHardquestion bank—
80Lambda vs Kappa architectureData EngineeringHardquestion bank—
81Tumbling, sliding and session windowsData EngineeringHardquestion bank—
82How do open table formats make ACID possible on object storage?Data EngineeringHardquestion bank—
83What are data contracts, and how do you enforce them?Data EngineeringHardquestion bank—
84Airflow executors: Local vs Celery vs KubernetesData EngineeringHardquestion bank—
85Sensors vs deferrable operatorsData EngineeringHardquestion bank—
86What changed in Airflow 3 (Assets, DAG versioning, Task SDK)?Data EngineeringHardquestion bank—
87Design a log-based CDC pipeline with Debezium and KafkaData EngineeringHardquestion bank—
88Parquet internals: row groups, column chunks, pages and statisticsData EngineeringHardquestion bank—
89Delta Lake vs Apache Iceberg vs Apache HudiData EngineeringHardquestion bank—
90How does schema evolution work across Avro, Parquet and table formats?Data EngineeringHardquestion bank—
91At-most-once vs at-least-once vs exactly-once deliveryData EngineeringHardquestion bank—
92Partitioning vs sharding vs replicationData EngineeringHardquestion bank—
93What is consistent hashing?Data EngineeringHardquestion bank—
94What is backpressure in streaming systems?Data EngineeringHardquestion bank—
95Kafka idempotent producers and transactionsData EngineeringHardquestion bank—
96Kafka retention vs log compactionData EngineeringHardquestion bank—
97How does GDPR "right to erasure" affect lake and warehouse design?Data EngineeringHardquestion bank—
98Write-Audit-Publish and blue-green deployments for dataData EngineeringHardquestion bank—
99What is data mesh, and when does it fail?Data EngineeringHardquestion bank—
100Data engineering for ML and GenAI: feature stores, embeddings, vector storesData EngineeringHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
101What is the logical order of SQL query execution?SQLEasyquestion bank—
102WHERE vs HAVINGSQLEasyquestion bank—
103Explain INNER, LEFT, RIGHT, FULL and CROSS joinsSQLEasyquestion bank—
104Self join: find employees and their managersSQLEasyquestion bank—
105UNION vs UNION ALLSQLEasyquestion bank—
106Find the Nth highest salary (several approaches)SQLEasyquestion bank—
107ROW_NUMBER vs RANK vs DENSE_RANKSQLEasyquestion bank—
108Window functions: PARTITION BY, ORDER BY and framesSQLEasyquestion bank—
109Find duplicate recordsSQLEasyquestion bank—
110CTE vs subquery vs temporary tableSQLEasyquestion bank—
111COUNT(*) vs COUNT(col) vs COUNT(DISTINCT col)SQLEasyquestion bank—
112NULL handling: three-valued logic, COALESCE, NULLIFSQLEasyquestion bank—
113Conditional aggregation (SUM(CASE…) and FILTER)SQLEasyquestion bank—
114DELETE vs TRUNCATE vs DROPSQLEasyquestion bank—
115ACID propertiesSQLEasyquestion bank—
116EXISTS vs IN vs NOT IN (and the NULL trap)SQLMediumquestion bank—
117ROWS vs RANGE window framesSQLMediumquestion bank—
118Running totals and moving averagesSQLMediumquestion bank—
119LAG/LEAD: day-over-day changeSQLMediumquestion bank—
120Why does LAST_VALUE return unexpected results? (default frame)SQLMediumquestion bank—
121Top N rows per groupSQLMediumquestion bank—
122Delete duplicates but keep one rowSQLMediumquestion bank—
123Find missing IDs or dates in a sequenceSQLMediumquestion bank—
124Generate a date spine with a recursive CTE or generatorSQLMediumquestion bank—
125Pivot rows to columns (CASE and PIVOT)SQLMediumquestion bank—
126Unpivot columns to rowsSQLMediumquestion bank—
127Correlated subqueries and their performanceSQLMediumquestion bank—
128Diagnose a join that multiplies rows (fan-out)SQLMediumquestion bank—
129Compute median and percentilesSQLMediumquestion bank—
130Month-over-month growth percentageSQLMediumquestion bank—
131Customers who bought product A but never product BSQLMediumquestion bank—
132Year-to-date and same-period-last-year comparisonsSQLMediumquestion bank—
133MERGE for upsertsSQLMediumquestion bank—
134Views vs materialized viewsSQLMediumquestion bank—
135How do you read an execution plan?SQLMediumquestion bank—
136A practical query optimisation checklistSQLMediumquestion bank—
137Stored procedures vs user-defined functionsSQLMediumquestion bank—
138Data-type traps: integer division, FLOAT vs DECIMAL, time zonesSQLMediumquestion bank—
139Gaps and islands: longest streak of consecutive login daysSQLHardquestion bank—
140Recursive CTE: walk an org hierarchySQLHardquestion bank—
141New vs returning users and cumulative distinct countsSQLHardquestion bank—
142Build a cohort retention tableSQLHardquestion bank—
143Sessionise events with a 30-minute inactivity gapSQLHardquestion bank—
144Merge overlapping date rangesSQLHardquestion bank—
145Indexes (clustered/non-clustered) and why columnar warehouses differSQLHardquestion bank—
146What makes a predicate sargable?SQLHardquestion bank—
147Nested loop vs hash vs merge join algorithmsSQLHardquestion bank—
148Window function vs GROUP BY + join: performance trade-offsSQLHardquestion bank—
149Transaction isolation levels and anomaliesSQLHardquestion bank—
150Approximate aggregation (APPROX_COUNT_DISTINCT, HyperLogLog)SQLHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
151Spark architecture: driver, executors and cluster managerPySparkEasyquestion bank—
152Jobs, stages, tasks and the DAGPySparkEasyquestion bank—
153Lazy evaluationPySparkEasyquestion bank—
154Transformations vs actionsPySparkEasyquestion bank—
155Narrow vs wide transformationsPySparkEasyquestion bank—
156RDD vs DataFrame vs DatasetPySparkEasyquestion bank—
157repartition vs coalescePySparkEasyquestion bank—
158cache() vs persist() and storage levelsPySparkEasyquestion bank—
159Handling nulls in PySparkPySparkEasyquestion bank—
160Reading and writing with an explicit schemaPySparkEasyquestion bank—
161Broadcast variables and accumulatorsPySparkEasyquestion bank—
162Output modes: append, update, completePySparkEasyquestion bank—
163Coding: deduplicate to keep the latest record per keyPySparkEasyquestion bank—
164Coding: word count / frequency countPySparkEasyquestion bank—
165Spark Connect (client-server)PySparkEasyquestion bank—
166What happens during a shuffle, and why is it expensive?PySparkMediumquestion bank—
167spark.sql.shuffle.partitions: default and tuningPySparkMediumquestion bank—
168How Spark decides the number of input partitionsPySparkMediumquestion bank—
169Join strategies: broadcast hash, shuffle hash, sort-mergePySparkMediumquestion bank—
170Broadcast joins: threshold, hints and limitsPySparkMediumquestion bank—
171How do you detect data skew?PySparkMediumquestion bank—
172Adaptive Query Execution: what does it do?PySparkMediumquestion bank—
173When caching hurts, and how to unpersistPySparkMediumquestion bank—
174Python UDF vs pandas UDF vs built-in functionsPySparkMediumquestion bank—
175Dynamic allocationPySparkMediumquestion bank—
176Reading the Spark UIPySparkMediumquestion bank—
177Using explain() to read physical plansPySparkMediumquestion bank—
178Predicate pushdown and partition pruningPySparkMediumquestion bank—
179partitionBy vs bucketBy when writingPySparkMediumquestion bank—
180Save modes and dynamic partition overwritePySparkMediumquestion bank—
181Window functions in PySparkPySparkMediumquestion bank—
182explode, flattening nested JSON and arraysPySparkMediumquestion bank—
183groupByKey vs reduceByKey (RDD API)PySparkMediumquestion bank—
184Structured Streaming programming modelPySparkMediumquestion bank—
185Triggers: processingTime, availableNow, once, continuousPySparkMediumquestion bank—
186foreachBatch for upserts and multiple sinksPySparkMediumquestion bank—
187Coding: top-N per group and running totalsPySparkMediumquestion bank—
188Spark vs pandas vs Polars: when to use eachPySparkMediumquestion bank—
189Fix skew with salting (with code)PySparkHardquestion bank—
190Catalyst optimizer phasesPySparkHardquestion bank—
191Project Tungsten and whole-stage code generationPySparkHardquestion bank—
192Executor memory model: unified, execution, storage, overheadPySparkHardquestion bank—
193Driver OOM vs executor OOM: causes and fixesPySparkHardquestion bank—
194How do you size executors (cores and memory)?PySparkHardquestion bank—
195Dynamic partition pruningPySparkHardquestion bank—
196Checkpointing vs caching (lineage truncation)PySparkHardquestion bank—
197Watermarks and late data in Structured StreamingPySparkHardquestion bank—
198Checkpoints and exactly-once in Structured StreamingPySparkHardquestion bank—
199Stream-stream joinsPySparkHardquestion bank—
200What's new in Spark 4.0 for data engineers?PySparkHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
201Explain Snowflake's three-layer architectureSnowflakeEasyquestion bank—
202Virtual warehouses: sizes, credits, auto-suspend and auto-resumeSnowflakeEasyquestion bank—
203Micro-partitions and partition pruningSnowflakeEasyquestion bank—
204Time Travel: retention by edition and how to query historySnowflakeEasyquestion bank—
205Fail-safe and how it differs from Time TravelSnowflakeEasyquestion bank—
206Permanent vs transient vs temporary tablesSnowflakeEasyquestion bank—
207Zero-copy cloningSnowflakeEasyquestion bank—
208How do you recover a dropped or overwritten table?SnowflakeEasyquestion bank—
209Stages: user, table, named internal and externalSnowflakeEasyquestion bank—
210Snowpipe auto-ingestSnowflakeEasyquestion bank—
211Tasks: schedules, task graphs and serverless tasksSnowflakeEasyquestion bank—
212VARIANT and semi-structured dataSnowflakeEasyquestion bank—
213Snowflake RBAC: system roles and role hierarchySnowflakeEasyquestion bank—
214Snowflake editions and what each addsSnowflakeEasyquestion bank—
215INFORMATION_SCHEMA vs ACCOUNT_USAGE (latency and retention)SnowflakeEasyquestion bank—
216Scale up vs scale out: multi-cluster warehouses and scaling policiesSnowflakeMediumquestion bank—
217Clustering keys, clustering depth and Automatic ClusteringSnowflakeMediumquestion bank—
218Snowflake caching layers: result, warehouse (local disk) and metadataSnowflakeMediumquestion bank—
219COPY INTO options and load metadataSnowflakeMediumquestion bank—
220File sizing and format best practices for bulk loadingSnowflakeMediumquestion bank—
221Streams: standard, append-only, insert-only; offsets and stalenessSnowflakeMediumquestion bank—
222Dynamic Tables: target lag and refresh modesSnowflakeMediumquestion bank—
223Materialized views in Snowflake and their limitationsSnowflakeMediumquestion bank—
224LATERAL FLATTEN for nested JSONSnowflakeMediumquestion bank—
225INFER_SCHEMA and table schema evolutionSnowflakeMediumquestion bank—
226Secure Data Sharing and reader accountsSnowflakeMediumquestion bank—
227Access-role vs functional-role design and future grantsSnowflakeMediumquestion bank—
228Dynamic data masking policiesSnowflakeMediumquestion bank—
229Row access policiesSnowflakeMediumquestion bank—
230Reading the Query Profile: spilling, exploding joins, poor pruningSnowflakeMediumquestion bank—
231Cost control: resource monitors and budgetsSnowflakeMediumquestion bank—
232Snowpark: DataFrame API and pushdownSnowflakeMediumquestion bank—
233UDFs, UDTFs and stored procedures (languages and use cases)SnowflakeMediumquestion bank—
234External tables vs Iceberg tablesSnowflakeMediumquestion bank—
235MERGE in Snowflake and the nondeterministic-merge errorSnowflakeMediumquestion bank—
236Gen2 and Snowpark-optimized warehousesSnowflakeMediumquestion bank—
237Cortex AI SQL functions (AI_COMPLETE, AI_CLASSIFY and others)SnowflakeMediumquestion bank—
238Search Optimization Service vs clusteringSnowflakeHardquestion bank—
239Snowpipe vs Snowpipe Streaming vs COPY INTOSnowflakeHardquestion bank—
240Build an incremental CDC pipeline with Streams and TasksSnowflakeHardquestion bank—
241Dynamic Tables vs Streams & Tasks vs materialized viewsSnowflakeHardquestion bank—
242Listings and cross-region/cross-cloud sharingSnowflakeHardquestion bank—
243Tag-based masking and sensitive data classificationSnowflakeHardquestion bank—
244Snowflake performance tuning checklistSnowflakeHardquestion bank—
245Query Acceleration ServiceSnowflakeHardquestion bank—
246Analysing spend with ACCOUNT_USAGE viewsSnowflakeHardquestion bank—
247Iceberg tables: Snowflake-managed vs externally managed catalogsSnowflakeHardquestion bank—
248Transactions and locking behaviour in SnowflakeSnowflakeHardquestion bank—
249Replication and failover for business continuitySnowflakeHardquestion bank—
250Hybrid tables (Unistore)SnowflakeHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
251Databricks architecture: control plane vs compute plane (classic and serverless)DatabricksEasyquestion bank—
252What is Delta Lake, and how is it different from plain Parquet?DatabricksEasyquestion bank—
253Delta time travel and RESTOREDatabricksEasyquestion bank—
254Schema enforcement vs schema evolution (mergeSchema)DatabricksEasyquestion bank—
255Unity Catalog: metastore and the three-level namespaceDatabricksEasyquestion bank—
256Managed vs external tables, and volumesDatabricksEasyquestion bank—
257Lakeflow Spark Declarative Pipelines (formerly DLT): streaming tables vs materialized viewsDatabricksEasyquestion bank—
258Lakeflow Jobs (formerly Workflows): tasks, retries and repair runsDatabricksEasyquestion bank—
259All-purpose vs job compute vs SQL warehouse vs serverlessDatabricksEasyquestion bank—
260What is Photon?DatabricksEasyquestion bank—
261Databricks Runtime versions and LTSDatabricksEasyquestion bank—
262Implementing medallion architecture on Databricks (See also Q32)DatabricksEasyquestion bank—
263Notebooks, Git folders, dbutils and widgetsDatabricksEasyquestion bank—
264Secret scopes and secrets managementDatabricksEasyquestion bank—
265Delta SharingDatabricksEasyquestion bank—
266The Delta transaction log: JSON commits and checkpointsDatabricksMediumquestion bank—
267VACUUM: default retention and the risksDatabricksMediumquestion bank—
268OPTIMIZE, optimized writes and auto compactionDatabricksMediumquestion bank—
269Z-ORDERDatabricksMediumquestion bank—
270Predictive optimizationDatabricksMediumquestion bank—
271MERGE INTO for upserts and its performanceDatabricksMediumquestion bank—
272Change Data FeedDatabricksMediumquestion bank—
273Unity Catalog securables, privileges and inheritanceDatabricksMediumquestion bank—
274Lineage and system tablesDatabricksMediumquestion bank—
275Pipeline expectations for data qualityDatabricksMediumquestion bank—
276Triggered vs continuous pipelines; development vs production modeDatabricksMediumquestion bank—
277Auto Loader: directory listing vs file notificationDatabricksMediumquestion bank—
278COPY INTO vs Auto LoaderDatabricksMediumquestion bank—
279Job parameters, task values and conditional tasksDatabricksMediumquestion bank—
280Cluster sizing, autoscaling and spot instancesDatabricksMediumquestion bank—
281Compute policies and instance poolsDatabricksMediumquestion bank—
282SQL warehouses: classic vs pro vs serverlessDatabricksMediumquestion bank—
283Structured Streaming with Delta as source and sinkDatabricksMediumquestion bank—
284Declarative Automation Bundles (formerly Databricks Asset Bundles) for CI/CDDatabricksMediumquestion bank—
285Controlling DBU cost on DatabricksDatabricksMediumquestion bank—
286Shallow clone vs deep cloneDatabricksMediumquestion bank—
287Identity columns and constraints in Delta tablesDatabricksMediumquestion bank—
288Serverless compute for jobs and notebooksDatabricksMediumquestion bank—
289Optimistic concurrency control and write conflicts in DeltaDatabricksHardquestion bank—
290Liquid Clustering vs partitioning vs Z-ORDERDatabricksHardquestion bank—
291Deletion vectorsDatabricksHardquestion bank—
292AUTO CDC (formerly APPLY CHANGES) for SCD Type 1/2 in pipelinesDatabricksHardquestion bank—
293Row filters and column masks in Unity CatalogDatabricksHardquestion bank—
294Auto Loader schema inference, evolution and rescued dataDatabricksHardquestion bank—
295Monitoring spend with system.billing tablesDatabricksHardquestion bank—
296Lakehouse FederationDatabricksHardquestion bank—
297Preventing small files from streaming and frequent writesDatabricksHardquestion bank—
298Lakeflow Connect managed ingestionDatabricksHardquestion bank—
299Databricks vs Snowflake: how do you choose?DatabricksHardquestion bank—
300Troubleshooting a slow Databricks job end to endDatabricksHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
301What is dbt, and where does it fit in ELT?dbtEasyquestion bank—
302dbt project structure: dbt_project.yml and profiles.ymldbtEasyquestion bank—
303ref() vs source()dbtEasyquestion bank—
304Materializations: view vs table vs incremental vs ephemeral vs materialized_viewdbtEasyquestion bank—
305--full-refresh: when and whydbtEasyquestion bank—
306SeedsdbtEasyquestion bank—
307The four built-in generic data testsdbtEasyquestion bank—
308Singular data testsdbtEasyquestion bank—
309Jinja basics in dbtdbtEasyquestion bank—
310Project layering: staging, intermediate and martsdbtEasyquestion bank—
311Naming and style conventionsdbtEasyquestion bank—
312dbt run vs build vs test vs compiledbtEasyquestion bank—
313Generating documentation and the lineage graphdbtEasyquestion bank—
314The analyses folder and dbt showdbtEasyquestion bank—
315Incremental models and is_incremental()dbtMediumquestion bank—
316unique_key and on_schema_changedbtMediumquestion bank—
317Snapshots: timestamp vs check strategy (See also Q12)dbtMediumquestion bank—
318Writing custom generic testsdbtMediumquestion bank—
319Unit testsdbtMediumquestion bank—
320Test severity, warn_if/error_if and store_failuresdbtMediumquestion bank—
321Source freshnessdbtMediumquestion bank—
322Writing macrosdbtMediumquestion bank—
323var() and env_var()dbtMediumquestion bank—
324Packages: dbt_utils, dbt_expectations and packages.ymldbtMediumquestion bank—
325Hooks: pre-hook, post-hook, on-run-start/enddbtMediumquestion bank—
326ExposuresdbtMediumquestion bank—
327Node selection syntax (+, @, tags, paths, state)dbtMediumquestion bank—
328Targets, environments and deploymentdbtMediumquestion bank—
329dbt Core vs dbt platform (Cloud) vs Fusion engine / dbt v2dbtMediumquestion bank—
330Debugging with compiled SQL, logs and the target folderdbtMediumquestion bank—
331Custom schemas and generate_schema_namedbtMediumquestion bank—
332grants and persist_docs configsdbtMediumquestion bank—
333Orchestrating dbt (Airflow/Cosmos, dbt platform jobs, warehouse-native dbt projects)dbtMediumquestion bank—
334dbt artifacts: manifest.json and run_results.jsondbtMediumquestion bank—
335Designing a test strategy across layersdbtMediumquestion bank—
336Refactoring a legacy SQL script into dbt modelsdbtMediumquestion bank—
337Common dbt anti-patternsdbtMediumquestion bank—
338Incremental strategies by adapter (append, merge, delete+insert, insert_overwrite, microbatch)dbtHardquestion bank—
339The microbatch incremental strategydbtHardquestion bank—
340YAML-defined snapshots and hard-delete handlingdbtHardquestion bank—
341Model contractsdbtHardquestion bank—
342Model versions, groups and access levelsdbtHardquestion bank—
343dbt Semantic Layer and MetricFlow (See also Q99)dbtHardquestion bank—
344Slim CI with state:modified and --deferdbtHardquestion bank—
345Speeding up slow dbt runsdbtHardquestion bank—
346Python modelsdbtHardquestion bank—
347Late-arriving data in incremental models (lookback windows)dbtHardquestion bank—
348dbt Mesh: cross-project refsdbtHardquestion bank—
349Cross-database macros and adapter.dispatchdbtHardquestion bank—
350dbt clone and zero-copy CI environmentsdbtHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
351list vs tuple vs set vs dictPythonEasyquestion bank—
352Mutable vs immutable types, and the mutable default argument trapPythonEasyquestion bank—
353Shallow copy vs deep copyPythonEasyquestion bank—
354List, dict and set comprehensionsPythonEasyquestion bank—
355*args and **kwargsPythonEasyquestion bank—
356OOP: inheritance vs compositionPythonEasyquestion bank—
357Instance vs @classmethod vs @staticmethodPythonEasyquestion bank—
358Exception handling best practicesPythonEasyquestion bank—
359Reading and writing CSV, JSON and ParquetPythonEasyquestion bank—
360Configuration and secrets via environment variablesPythonEasyquestion bank—
361is vs ==PythonEasyquestion bank—
362Coding: word count and top-k frequent wordsPythonEasyquestion bank—
363Coding: group anagrams / two-sum with dictionariesPythonEasyquestion bank—
364Coding: batch an iterable into chunksPythonEasyquestion bank—
365lambda, map, filter and reducePythonEasyquestion bank—
366Iterables vs iterators vs generatorsPythonMediumquestion bank—
367Decorators (with arguments and functools.wraps)PythonMediumquestion bank—
368Context managers and the with statementPythonMediumquestion bank—
369dataclasses vs Pydantic modelsPythonMediumquestion bank—
370Useful dunder methodsPythonMediumquestion bank—
371Custom exceptions and retryable errorsPythonMediumquestion bank—
372concurrent.futures executorsPythonMediumquestion bank—
373pandas: loc vs iloc, and vectorisation vs applyPythonMediumquestion bank—
374pandas merge, concat and groupby/aggPythonMediumquestion bank—
375Processing data larger than memory in pandas (chunks, dtypes)PythonMediumquestion bank—
376Read a huge file in chunks with a generatorPythonMediumquestion bank—
377Logging in pipelinesPythonMediumquestion bank—
378pytest fixtures and parametrizePythonMediumquestion bank—
379Packaging and environments: venv, pip, pyproject.toml, uvPythonMediumquestion bank—
380Type hints and static checkingPythonMediumquestion bank—
381Coding: flatten a nested JSON objectPythonMediumquestion bank—
382Coding: deduplicate records by key, keeping the latestPythonMediumquestion bank—
383Coding: merge overlapping intervalsPythonMediumquestion bank—
384Coding: validate records and split good from badPythonMediumquestion bank—
385Coding: parse log files with regular expressionsPythonMediumquestion bank—
386datetime and time zones with zoneinfoPythonMediumquestion bank—
387Querying databases from Python safely (parameterised queries, SQLAlchemy)PythonMediumquestion bank—
388Working with S3 using boto3PythonMediumquestion bank—
389Building generator pipelines with yield fromPythonHardquestion bank—
390The GIL, and the free-threaded build in Python 3.13+PythonHardquestion bank—
391threading vs multiprocessing vs asyncioPythonHardquestion bank—
392Concurrent API calls with asyncioPythonHardquestion bank—
393Memory management: reference counting and garbage collectionPythonHardquestion bank—
394Profiling and speeding up Python codePythonHardquestion bank—
395pandas vs Polars vs PySparkPythonHardquestion bank—
396API ingestion with pagination (offset, cursor, next-link)PythonHardquestion bank—
397Retries with exponential backoff and rate limitingPythonHardquestion bank—
398Mocking external services in testsPythonHardquestion bank—
399Coding: implement an LRU cachePythonHardquestion bank—
400Structure of an idempotent, restartable ETL scriptPythonHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
401How does a Python file become a DAG in Airflow 3? Explain parsing and the DAG processorAirflowEasyquestion bank—
402TaskFlow API vs classic operators: what does @task actually do?AirflowEasyquestion bank—
403Operators, hooks and providers: how do they fit together?AirflowEasyquestion bank—
404Connections and Variables: how should DAGs get credentials and configuration?AirflowEasyquestion bank—
405How do you declare task dependencies, and what do chain and cross_downstream do?AirflowEasyquestion bank—
406What are task groups, and why did they replace SubDAGs?AirflowEasyquestion bank—
407How do partial() and expand() work in dynamic task mapping, and what is a map index?AirflowEasyquestion bank—
408How does Jinja templating work in Airflow, and which macros should you know?AirflowEasyquestion bank—
409What can you pass to schedule, and what does each option create?AirflowEasyquestion bank—
410TriggerDagRunOperator, ExternalTaskSensor or assets: how do you choose for cross-DAG dependencies?AirflowEasyquestion bank—
411How do TaskFlow tasks pass values: return values, multiple_outputs and named XComs?AirflowEasyquestion bank—
412What are pools, and how do you use them to protect a shared system?AirflowEasyquestion bank—
413How do callbacks and notifiers work, and where do they run?AirflowEasyquestion bank—
414How do you write DAG integrity tests that catch broken DAGs before merge?AirflowEasyquestion bank—
415What do the task instance states mean, and which ones signal a problem?AirflowEasyquestion bank—
416What are trigger rules, and which ones do you actually use?AirflowMediumquestion bank—
417How does branching work in Airflow, and why is the join task often skipped?AirflowMediumquestion bank—
418Short-circuit, branch or AirflowSkipException: how do you skip work cleanly?AirflowMediumquestion bank—
419What are setup and teardown tasks, and how are they different from an all_done cleanup?AirflowMediumquestion bank—
420Generating many DAGs from config vs dynamic task mapping: when do you use each?AirflowMediumquestion bank—
421How do Params work, and how do you trigger a DAG with validated inputs?AirflowMediumquestion bank—
422CronTriggerTimetable vs CronDataIntervalTimetable: what changed in Airflow 3, and when do you write a custom timetable?AirflowMediumquestion bank—
423How do scheduler-managed backfills work in Airflow 3?AirflowMediumquestion bank—
424Manual and API-triggered runs in Airflow 3: why can logical_date be None?AirflowMediumquestion bank—
425How does asset-aware scheduling work, and how do you combine asset conditions?AirflowMediumquestion bank—
426What do the @asset decorator, Metadata and AssetAlias add on top of plain asset outlets?AirflowMediumquestion bank—
427Which sensor settings matter, and how do you write a sensor with @task.sensor?AirflowMediumquestion bank—
428How do priority weights and weight_rule decide what runs first?AirflowMediumquestion bank—
429How do you configure retries, backoff, timeouts and the 3.3 retry policies?AirflowMediumquestion bank—
430SLAs were removed in Airflow 3. How do Deadline Alerts replace them?AirflowMediumquestion bank—
431How do multiple executors work, and how do you route a task to a specific one?AirflowMediumquestion bank—
432KubernetesPodOperator vs KubernetesExecutor vs virtualenv tasks: how do you isolate dependencies?AirflowMediumquestion bank—
433What are DAG bundles and DAG versioning in Airflow 3?AirflowMediumquestion bank—
434How do secrets backends work in Airflow 3, and what is the lookup order?AirflowMediumquestion bank—
435How do you test task logic and run a DAG end to end with dag.test()?AirflowMediumquestion bank—
436What does a good CI/CD pipeline for Airflow DAGs look like?AirflowMediumquestion bank—
437MWAA, Cloud Composer or Astronomer: what are the trade-offs of managed Airflow?AirflowMediumquestion bank—
438Why is DAG parsing slow, and how do you keep parse time low?AirflowMediumquestion bank—
439How do you map a whole task group, filter inputs and limit fan-out?AirflowHardquestion bank—
440How do AssetWatcher and event-driven scheduling work?AirflowHardquestion bank—
441What is asset partitioning in Airflow 3.2+, and when would you use it?AirflowHardquestion bank—
442How does the triggerer work, and how would you write a deferrable operator?AirflowHardquestion bank—
443How do custom and object-storage XCom backends work?AirflowHardquestion bank—
444How do Airflow's concurrency limits stack, from parallelism down to a single task?AirflowHardquestion bank—
445What is the Edge Executor, and when would you use it?AirflowHardquestion bank—
446How do you scale and make the scheduler highly available?AirflowHardquestion bank—
447What are the Task SDK and the Task Execution API, and why do they matter?AirflowHardquestion bank—
448How do you design DAGs so any past interval can be reprocessed safely?AirflowHardquestion bank—
449Walk through migrating a real Airflow 2 deployment to Airflow 3. What breaks first?AirflowHardquestion bank—
450What are zombie tasks (heartbeat timeouts), and how do you debug them?AirflowHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
451Walk through the life of one record from producer to consumerKafkaEasyquestion bank—
452Create and configure a topic from the CLIKafkaEasyquestion bank—
453What makes a good message key?KafkaEasyquestion bank—
454Can you change a topic's partition count, and what breaks when you do?KafkaEasyquestion bank—
455Synchronous vs asynchronous sends, flush() and delivery callbacksKafkaEasyquestion bank—
456The consumer poll loop: what poll() does and why max.poll.interval.ms mattersKafkaEasyquestion bank—
457auto.offset.reset: earliest, latest, none and by_durationKafkaEasyquestion bank—
458How is consumer lag measured, and what does the output mean?KafkaEasyquestion bank—
459What happens when a broker fails, and how does leadership recover?KafkaEasyquestion bank—
460Kafka Connect architecture: workers, connectors, tasks and internal topicsKafkaEasyquestion bank—
461Avro vs Protobuf vs JSON Schema for Kafka eventsKafkaEasyquestion bank—
462KStream vs KTable vs GlobalKTable in Kafka StreamsKafkaEasyquestion bank—
463What to monitor on a Kafka cluster, and the key broker metricsKafkaEasyquestion bank—
464Securing Kafka: TLS, SASL mechanisms, ACLs and quotasKafkaEasyquestion bank—
465How should you name and organise Kafka topics?KafkaEasyquestion bank—
466Running KRaft: controllers, quorum sizing and metadata versionsKafkaMediumquestion bank—
467How the producer picks a partition, and why Python and Java can disagreeKafkaMediumquestion bank—
468Producer batching, linger.ms and compression: tuning for throughputKafkaMediumquestion bank—
469Producer retries, timeouts and error handlingKafkaMediumquestion bank—
470max.in.flight.requests.per.connection, idempotence and orderingKafkaMediumquestion bank—
471Offset commit strategies: auto, sync, async and "store then commit"KafkaMediumquestion bank—
472Replaying data: seek, offsets-for-times and kafka-consumer-groups --reset-offsetsKafkaMediumquestion bank—
473Consumer fetch tuning: fetch.min.bytes, fetch.max.wait.ms and partition fetch sizesKafkaMediumquestion bank—
474Processing faster than one thread per partition: worker pools and orderingKafkaMediumquestion bank—
475Partition assignment strategies: range, round-robin, sticky and cooperative-stickyKafkaMediumquestion bank—
476How replication works: leaders, followers, the ISR and the high watermarkKafkaMediumquestion bank—
477How Kafka stores a partition on disk: segments, indexes and deletionKafkaMediumquestion bank—
478Record timestamps: CreateTime vs LogAppendTime, and how they affect retention and replayKafkaMediumquestion bank—
479Converters vs SMTs vs serializers in Kafka ConnectKafkaMediumquestion bank—
480Error handling in Kafka Connect: errors.tolerance and dead letter queuesKafkaMediumquestion bank—
481Debezium snapshots, incremental snapshots and replication-slot risksKafkaMediumquestion bank—
482Debezium change events: the envelope, tombstones and flattening with ExtractNewRecordStateKafkaMediumquestion bank—
483Schema Registry under the hood: wire format, schema IDs and subject naming strategiesKafkaMediumquestion bank—
484Windowing in Kafka Streams: tumbling, hopping, sliding, session windows and graceKafkaMediumquestion bank—
485State stores, changelog topics and restoring state in Kafka StreamsKafkaMediumquestion bank—
486Log compaction in practice: settings, tombstones and how long deletes takeKafkaMediumquestion bank—
487How do you send large messages through Kafka?KafkaMediumquestion bank—
488How do you handle poison messages and retries in a consumer application?KafkaMediumquestion bank—
489The KIP-848 consumer group protocol: what changes with group.protocol=consumer?KafkaHardquestion bank—
490Share groups (Queues for Kafka): how do they differ from consumer groups?KafkaHardquestion bank—
491Unclean leader election and Eligible Leader Replicas (ELR)KafkaHardquestion bank—
492Rack awareness and fetching from the closest replicaKafkaHardquestion bank—
493Exactly-once from Kafka into an external databaseKafkaHardquestion bank—
494Write a transactional consume-transform-produce loopKafkaHardquestion bank—
495Tiered storage: how it works and what it changes operationallyKafkaHardquestion bank—
496Exactly-once source connectors and what "exactly-once" means for sinksKafkaHardquestion bank—
497Joins in Kafka Streams: stream-table, stream-stream and co-partitioningKafkaHardquestion bank—
498Capacity planning: brokers, disks, network and partition-count limitsKafkaHardquestion bank—
499Multi-region Kafka: MirrorMaker 2, offset translation and cluster-linking conceptsKafkaHardquestion bank—
500Kafka Streams vs Apache Flink: event time, watermarks and exactly-once sinksKafkaHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
501Ingest from a REST API with strict rate limitsScenario-basedEasyquestion bank—
502Daily vendor files over SFTP arrive in inconsistent formatsScenario-basedEasyquestion bank—
503Source and target row counts don't matchScenario-basedEasyquestion bank—
504A business user says a dashboard number is wrongScenario-basedEasyquestion bank—
505The driver crashes with OOM after a collect()Scenario-basedEasyquestion bank—
506Reprocess a single corrupted partitionScenario-basedEasyquestion bank—
507Should this request be batch or streaming?Scenario-basedEasyquestion bank—
508Daily reports are off because of time-zone handlingScenario-basedEasyquestion bank—
509A rerun double-counted revenueScenario-basedEasyquestion bank—
510PII found in the raw zone and application logsScenario-basedEasyquestion bank—
511Object storage costs grow 20% a monthScenario-basedEasyquestion bank—
512The business wants hourly instead of daily refreshScenario-basedEasyquestion bank—
513Set up testing and CI for a brand-new pipelineScenario-basedEasyquestion bank—
514Upstream API was down for two days; how do you recover?Scenario-basedEasyquestion bank—
515The nightly pipeline failed at 3 AM; executive dashboards refresh at 7 AMScenario-basedMediumquestion bank—
516Late-arriving events are making daily aggregates wrongScenario-basedMediumquestion bank—
517Duplicates discovered in a production fact tableScenario-basedMediumquestion bank—
518A Snowflake dashboard query takes 3 minutes; target is 10 secondsScenario-basedMediumquestion bank—
519Upstream added and renamed columns without notice (schema drift)Scenario-basedMediumquestion bank—
520Snowflake cost doubled overnightScenario-basedMediumquestion bank—
521Databricks bill spiked 60% this monthScenario-basedMediumquestion bank—
522Recurring SLA breaches on a critical pipelineScenario-basedMediumquestion bank—
523The data lake has millions of tiny filesScenario-basedMediumquestion bank—
524Kafka consumer lag keeps growingScenario-basedMediumquestion bank—
525Out-of-order events in a streaming aggregationScenario-basedMediumquestion bank—
526A join on customer_id is skewed by one huge customer (See also Q264)Scenario-basedMediumquestion bank—
527An incremental load silently missed recordsScenario-basedMediumquestion bank—
528Airflow tasks stuck in queued stateScenario-basedMediumquestion bank—
529Auditors need lineage and a data catalogScenario-basedMediumquestion bank—
530Migrate orchestration from Airflow to a managed serviceScenario-basedMediumquestion bank—
531A hot partition in a Kafka topicScenario-basedMediumquestion bank—
532Source sends full daily dumps; detect only the changesScenario-basedMediumquestion bank—
533Share data with an external partner securelyScenario-basedMediumquestion bank—
534A MERGE into a large table runs for hoursScenario-basedMediumquestion bank—
535Design the dimensional model for e-commerce ordersScenario-basedMediumquestion bank—
536A pipeline gets slower every monthScenario-basedMediumquestion bank—
537Make KPIs consistent across three BI toolsScenario-basedMediumquestion bank—
538Backfill two years of history without breaking productionScenario-basedHardquestion bank—
539A Spark job went from 40 minutes to 4 hoursScenario-basedHardquestion bank—
540Design a real-time clickstream pipeline (50k events/sec)Scenario-basedHardquestion bank—
541CDC from a PostgreSQL OLTP database into the warehouseScenario-basedHardquestion bank—
542Migrate an on-prem Oracle/Teradata warehouse to the cloudScenario-basedHardquestion bank—
543SCD Type 2 on a 500-million-row customer dimensionScenario-basedHardquestion bank—
544Fulfil a GDPR deletion request across lake, warehouse and backups (See also Q85)Scenario-basedHardquestion bank—
545Design a data platform from scratch for a growing startupScenario-basedHardquestion bank—
546Multiple jobs writing to the same table cause conflictsScenario-basedHardquestion bank—
547Build a data quality framework for 200 tablesScenario-basedHardquestion bank—
548Merge customer data after an acquisition (entity resolution)Scenario-basedHardquestion bank—
549Build point-in-time-correct training data for an ML modelScenario-basedHardquestion bank—
550Add multi-region disaster recovery to the platformScenario-basedHardquestion bank—
#QuestionTopicDifficultyTypePractiseDone
551Walk me through a recent project end to endBehavioralEasyquestion bank—
552Tell me about a mistake you madeBehavioralEasyquestion bank—
553How did you learn a new technology quickly?BehavioralEasyquestion bank—
554Why are you leaving, and why this company?BehavioralEasyquestion bank—
555Do you have any questions for us?BehavioralEasyquestion bank—
556Tell me about the most complex pipeline you builtBehavioralMediumquestion bank—
557Describe a production incident you ownedBehavioralMediumquestion bank—
558Tell me about a disagreement with a stakeholder or peerBehavioralMediumquestion bank—
559How do you prioritise competing requests?BehavioralMediumquestion bank—
560Explain a technical concept to a non-technical audienceBehavioralMediumquestion bank—
561Pushing back on an unrealistic deadlineBehavioralMediumquestion bank—
562Handling ambiguous requirementsBehavioralMediumquestion bank—
563The business found a data quality issue before you didBehavioralMediumquestion bank—
564A process or cost improvement you droveBehavioralHardquestion bank—
565How do you mentor junior engineers?BehavioralHardquestion bank—
566An architecture decision made with incomplete informationBehavioralHardquestion bank—
567Leading a migration and influencing without authorityBehavioralHardquestion bank—
568Balancing technical debt against feature workBehavioralHardquestion bank—
569ETL vs ELT: what factors decide the choice?Data EngineeringEasyconceptual, architecture—
570Batch or streaming: how do you choose for a use case?Data EngineeringMediumconceptual, architecture—
571Data lake vs warehouse vs lakehouse: when would you choose each?Data EngineeringMediumconceptual, architecture—
572How do you backfill a pipeline safely?Data EngineeringMediumscenario, architecture—
573How do you handle late-arriving data?Data EngineeringMediumscenario, architecture—
574How do you handle PII in a data pipeline?Data EngineeringMediumscenario, architecture—
575How do you handle schema changes from upstream sources in a pipeline?Data EngineeringMediumscenario, architecture—
576How do you test a data pipeline?Data EngineeringMediumconceptual, scenario—
577How would you choose a partitioning strategy for a large table?Data EngineeringMediumarchitecture, optimization—
578How would you choose an orchestrator for data pipelines?Data EngineeringMediumconceptual, architecture—
579How would you design an idempotent batch pipeline?Data EngineeringMediumarchitecture, scenario—
580How would you design an incremental load for a large table?Data EngineeringMediumarchitecture, scenario—
581How would you investigate a suddenly slower data pipeline?Data EngineeringMediumdebugging, scenario—
582How would you monitor pipeline freshness and data SLAs?Data EngineeringMediumscenario, architecture—
583What are the most important data-quality checks in production?Data EngineeringMediumconceptual, scenario—
584What does CI/CD look like for data pipelines?Data EngineeringMediumconceptual, architecture—
585Exactly-once vs effectively-once: what can a pipeline really guarantee?Data EngineeringHardconceptual, architecture—
586How would you design a CDC pipeline?Data EngineeringHardarchitecture, scenario—
587Explain INNER JOIN vs LEFT JOIN with a practical example.SQLEasyconceptual, coding—
588Find customers who never placed an order, and explain NOT IN vs NOT EXISTS.SQLEasycoding, debuggingLeetCode (opens in a new tab)
589How do window functions differ from GROUP BY?SQLEasyconceptual, coding—
590In what order is a SQL query evaluated, and what is the difference between WHERE and HAVING?SQLEasyconceptual, debugging—
591Average Order Value: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario—
592Calculate month-over-month and year-over-year revenue growth in SQL.SQLMediumcoding—
593Compute a running total and a 3-day moving average of daily revenue in SQL.SQLMediumcoding—
594Customer Lifetime Value: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario—
595Daily Active Users: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario—
596Find the second-highest salary without using a simple MAX approach.SQLMediumcodingLeetCode (opens in a new tab)
597How would you detect and remove duplicate records safely?SQLMediumcoding, scenarioLeetCode (opens in a new tab)
598Lead Scoring: SQL Case Study with 7 ApproachesSQLMediumcoding, scenario, optimization—
599New vs Returning Customers: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario—
600Refund Analysis: SQL Case Study with 7 ApproachesSQLMediumcoding, optimization, scenario—
#QuestionTopicDifficultyTypePractiseDone
601Return the top three salaries in each department, including ties.SQLMediumcodingLeetCode (opens in a new tab)
602Revenue doubled after you joined a second table. What happened and how do you fix it?SQLMediumdebugging, coding—
603Session Duration: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario—
604Subscription Renewals: SQL Case Study with 7 ApproachesSQLMediumcoding, optimization, scenario—
605There is an index on the column, but EXPLAIN shows a sequential scan. Why?SQLMediumoptimization, debugging—
606Top Selling Products: SQL Case Study with 8 ApproachesSQLMediumcoding, optimization, scenario—
607A/B Test Results: SQL Case Study with 7 ApproachesSQLHardcoding, scenario, optimization—
608Churn Rate: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario—
609Conversion Funnel: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario—
610Employee Hierarchy: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario—
611Fraud Pattern Detection: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario—
612How would you optimize a slow analytical SQL query?SQLHardoptimization, scenario—
613Inventory Turnover: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario—
614Monthly Revenue: SQL Case Study with 8 ApproachesSQLHardcoding, optimization, scenario—
615Write an SCD Type 2 upsert in SQL that closes old versions and inserts new ones.SQLHardcoding, scenario—
616When should you avoid Python UDFs in PySpark?PySparkMediumconceptual, optimization—
617When would you use a broadcast join in Spark?PySparkMediumconceptual, optimization—
618What is the difference between a transformation and an action in Spark?Apache SparkEasyconceptual—
619Explain Spark jobs, stages and tasks.Apache SparkMediumconceptual—
620How does partition count affect Spark performance?Apache SparkMediumoptimization, conceptual—
621What causes a shuffle in Spark?Apache SparkMediumconceptual—
622How does Spark Structured Streaming handle late data with watermarks?Apache SparkHardconceptual, scenario—
623What is data skew and how can you mitigate it?Apache SparkHardoptimization, debugging—
624What are Snowflake virtual warehouses?SnowflakeEasyconceptual—
625What caches does Snowflake use, and when does each one help?SnowflakeEasyconceptual, scenario—
626What is the difference between Snowflake Time Travel and Fail-safe?SnowflakeEasyconceptual, scenario—
627What is zero-copy cloning in Snowflake, and how would you use it?SnowflakeEasyconceptual, scenario—
628How do micro-partitions affect Snowflake query performance?SnowflakeMediumconceptual, optimization—
629How do you build an incremental pipeline with Snowflake streams and tasks?SnowflakeMediumarchitecture, coding—
630Should you scale a Snowflake warehouse up or out?SnowflakeMediumoptimization, scenario—
631When should you define a clustering key on a Snowflake table?SnowflakeMediumoptimization, scenario—
632What is Unity Catalog used for?DatabricksEasyconceptual—
633Auto Loader vs COPY INTO: how would you ingest files on Databricks?DatabricksMediumconceptual, scenario—
634Which Databricks compute should you use for each workload?DatabricksMediumconceptual, scenario—
635What is Delta Lake time travel good for, and what are its limits?Delta LakeEasyconceptual, scenario—
636What problems does Delta Lake solve?Delta LakeEasyconceptual—
637Delta Lake vs Apache Iceberg vs Apache Hudi: how do they differ?Delta LakeMediumconceptual, architecture—
638How does Delta Lake MERGE work, and why do concurrent MERGEs fail?Delta LakeMediumconceptual, debugging—
639How is a Parquet file organised, and how does that speed up queries?Delta LakeMediumconceptual, optimization—
640OPTIMIZE, Z-ORDER or liquid clustering: which would you use on a Delta table?Delta LakeMediumconceptual, optimization, scenario—
641What does VACUUM do in Delta Lake, and what can go wrong?Delta LakeMediumconceptual, scenario—
642What is schema evolution and when is it safe?Delta LakeMediumconceptual, scenario—
643Explain shallow copy vs deep copy.PythonEasyconceptual, debugging—
644List vs tuple vs set: when would you use each in a data pipeline?PythonEasyconceptual—
645What is a generator and why can it help with large datasets?PythonEasyconceptual, coding—
646Why are mutable default arguments dangerous in Python?PythonEasyconceptual, debugging—
647How should exceptions be handled in production data pipelines?PythonMediumconceptual, scenario—
648How would you add retries with backoff to API ingestion in Python?PythonMediumcoding, scenario—
649How would you process a 50 GB CSV file on a machine with 8 GB of RAM?PythonMediumscenario, coding—
650When would you not use pandas in a data pipeline?PythonMediumconceptual, scenario—
#QuestionTopicDifficultyTypePractiseDone
651Why are dict and set lookups O(1) in Python, and when are they not?PythonMediumconceptual, optimization—
652How do you handle task failures and alerting in Airflow?AirflowMediumscenario, conceptual—
653How do you make one Airflow DAG depend on another?AirflowMediumarchitecture, conceptual—
654How do you test Airflow DAGs before they reach production?AirflowMediumcoding, conceptual—
655How should Airflow retries and idempotency work together?AirflowMediumconceptual, scenario—
656How would you process a variable number of files each day in Airflow?AirflowMediumcoding, scenario—
657Poke, reschedule or deferrable: how should an Airflow sensor wait?AirflowMediumconceptual, optimization—
658What are the logical date and data interval in Airflow, and what changed in Airflow 3?AirflowMediumconceptual, debugging—
659What is the difference between catchup and backfill in Airflow 3?AirflowMediumconceptual, scenario—
660When should Airflow tasks pass data through XCom, and when through external storage?AirflowMediumconceptual, scenario—
661Airflow is slow and tasks sit in scheduled or queued. How do you find the bottleneck?AirflowHarddebugging, optimization—
662How do you choose an Airflow executor: Local, Celery, Kubernetes or several?AirflowHardarchitecture, scenario—
663What changed in Airflow 3, and how would you migrate Airflow 2 DAGs?AirflowHardconceptual, scenario—
664Consumer lag keeps growing. How do you diagnose and fix it?KafkaMediumdebugging, scenario—
665Explain Kafka partitions and consumer groups.KafkaMediumconceptual, architecture—
666How do acks, replication factor and min.insync.replicas decide Kafka durability?KafkaMediumconceptual, scenario—
667How do you choose retention and size disk for a Kafka topic?KafkaMediumarchitecture, scenario—
668How do you choose the number of partitions for a Kafka topic?KafkaMediumarchitecture, scenario—
669How do you evolve Kafka message schemas safely with a Schema Registry?KafkaMediumconceptual, scenario—
670How do you handle poison messages and dead-letter topics in Kafka?KafkaMediumscenario, debugging—
671How does Kafka guarantee message ordering, and where can ordering break?KafkaMediumconceptual, scenario—
672Kafka vs Kinesis vs a message queue: how do you choose?KafkaMediumarchitecture, conceptual—
673What causes consumer group rebalances, and how do you reduce their impact?KafkaMediumdebugging, conceptual—
674What is at-least-once delivery and what problems can it create?KafkaMediumconceptual, scenario—
675What is Kafka log compaction, and when would you use it?KafkaMediumconceptual, scenario—
676What is KRaft, and why did Kafka 4.0 remove ZooKeeper?KafkaMediumconceptual, architecture—
677How would you stream database changes into Kafka with Debezium?KafkaHardarchitecture, scenario—
678What does exactly-once mean in Kafka, and how is it achieved?KafkaHardconceptual, architecture—
679AWS Glue vs Amazon EMR vs EMR Serverless: which would you use for Spark?AWSMediumarchitecture, scenario—
680How do you build reliable event-driven ingestion from S3 when events can be duplicated or late?AWSMediumscenario, architecture—
681How do you choose Redshift distribution styles and sort keys?AWSMediumoptimization, conceptual—
682How do you give a data pipeline least-privilege IAM access, including cross-account?AWSMediumscenario, architecture—
683How do you reduce Amazon Athena query cost and make queries faster?AWSMediumoptimization, scenario—
684How would you cut the AWS bill of a data platform without breaking SLAs?AWSMediumscenario, optimization—
685How would you design the S3 layout and partitioning for a data lake?AWSMediumarchitecture, scenario—
686Kinesis Data Streams or Amazon MSK: which would you pick for streaming on AWS?AWSMediumarchitecture, scenario—
687Step Functions or Airflow on MWAA: how do you choose an orchestrator on AWS?AWSMediumarchitecture, scenario—
688When is AWS Lambda a good fit for ETL, and what limits push you to Glue or containers?AWSMediumscenario, conceptual—
689Lake Formation permissions vs IAM and S3 bucket policies: how do they work together?AWSHardconceptual, scenario—
690Backspace String Compare: Read Both Strings Backwards With Skip CountersDSAEasycodingLeetCode (opens in a new tab)
691Balanced Binary Tree: Height Check with Early ExitDSAEasycodingLeetCode (opens in a new tab)
692Best Time to Buy and Sell Stock: Maximum Profit From One TradeDSAEasycodingLeetCode (opens in a new tab)
693Binary Search: Find a Target in a Sorted Array in O(log n)DSAEasycodingLeetCode (opens in a new tab)
694Ceil in Sorted Array: Lower-Bound Binary SearchDSAEasycodingGeeksforGeeks (opens in a new tab)
695Climbing Stairs: Count Ways with a Fibonacci-Style DPDSAEasycodingLeetCode (opens in a new tab)
696Complement of Base 10 Integer: Flip Bits With an All-Ones MaskDSAEasycodingLeetCode (opens in a new tab)
697Contains Duplicate: Detect Whether Any Value Appears TwiceDSAEasycodingLeetCode (opens in a new tab)
698Convert Sorted Array to BST: Pick the Middle, Recurse on HalvesDSAEasycodingLeetCode (opens in a new tab)
699Counting Bits: Set-Bit Counts for 0 to n with a One-Line DPDSAEasycodingLeetCode (opens in a new tab)
700Diameter of Binary Tree: Longest Path via Post-Order HeightsDSAEasycodingLeetCode (opens in a new tab)
#QuestionTopicDifficultyTypePractiseDone
701Find All Numbers Disappeared in an Array: Cyclic Sort and In-Place MarkingDSAEasycodingLeetCode (opens in a new tab)
702Find if Path Exists in Graph: Reachability with BFS or Union-FindDSAEasycodingLeetCode (opens in a new tab)
703Find Pivot Index: Balance Left and Right Prefix SumsDSAEasycodingLeetCode (opens in a new tab)
704Find Rotation Count: The Index of the Minimum Is the AnswerDSAEasycodingGeeksforGeeks (opens in a new tab)
705First Unique Character in a String: Count, Then Scan AgainDSAEasycodingLeetCode (opens in a new tab)
706Flood Fill: Repaint a Connected Region with DFS or BFSDSAEasycodingLeetCode (opens in a new tab)
707Happy Number: Detect a Cycle in a Digit-Square SequenceDSAEasycodingLeetCode (opens in a new tab)
708Implement Queue using Stacks: FIFO With Two Stacks in Amortised O(1)DSAEasycodingLeetCode (opens in a new tab)
709Implement Stack using Queues: LIFO Behaviour From FIFO PartsDSAEasycodingLeetCode (opens in a new tab)
710Invert Binary Tree: Recursive and Iterative Mirror SolutionsDSAEasycodingLeetCode (opens in a new tab)
711Island Perimeter: Count Land Edges Without a TraversalDSAEasycodingLeetCode (opens in a new tab)
712Kth Largest Element in a Stream: Size-k Min-HeapDSAEasycodingLeetCode (opens in a new tab)
713Last Stone Weight: Simulating Smashes with a Max-HeapDSAEasycodingLeetCode (opens in a new tab)
714Linked List Cycle: Floyd's Fast and Slow PointersDSAEasycodingLeetCode (opens in a new tab)
715Longest Common Prefix: Shared Start of a List of StringsDSAEasycodingLeetCode (opens in a new tab)
716Longest Palindrome: Pair Up Letter Counts and Keep One CentreDSAEasycodingLeetCode (opens in a new tab)
717Majority Element: Find the Value That Fills More Than Half the ArrayDSAEasycodingLeetCode (opens in a new tab)
718Max Sum Subarray of Size K: The Fixed-Size Sliding WindowDSAEasycodingGeeksforGeeks (opens in a new tab)
719Maximum Depth of Binary Tree: Recursive DFS, Iterative DFS and BFSDSAEasycodingLeetCode (opens in a new tab)
720Meeting Rooms: Check Whether One Person Can Attend Every MeetingDSAEasycodingGeeksforGeeks (opens in a new tab)
721Merge Two Sorted Lists: Dummy Head Iteration and RecursionDSAEasycodingLeetCode (opens in a new tab)
722Middle of the Linked List: Find It in One Pass With Fast and Slow PointersDSAEasycodingLeetCode (opens in a new tab)
723Min Cost Climbing Stairs: Cheapest Path to the Top with 1D DPDSAEasycodingLeetCode (opens in a new tab)
724Missing Number: Find the One Value Absent From 0 to nDSAEasycodingLeetCode (opens in a new tab)
725Move Zeroes: Shift Zeros to the End While Keeping OrderDSAEasycodingLeetCode (opens in a new tab)
726Next Greater Element I: First Larger Value to the RightDSAEasycodingLeetCode (opens in a new tab)
727Number of 1 Bits: Count Set Bits in an IntegerDSAEasycodingLeetCode (opens in a new tab)
728Number of Occurrence: Count a Value with Two Boundary SearchesDSAEasycodingGeeksforGeeks (opens in a new tab)
729Number of Recent Calls: Count Requests in a Sliding Time WindowDSAEasycodingLeetCode (opens in a new tab)
730Palindrome Linked List: Find the Middle, Reverse the Back Half, CompareDSAEasycodingLeetCode (opens in a new tab)
731Ransom Note: Check Letter Supply Against Demand With a CounterDSAEasycodingLeetCode (opens in a new tab)
732Remove All Adjacent Duplicates In String: Cancel Pairs With a StackDSAEasycodingLeetCode (opens in a new tab)
733Remove Duplicates from Sorted Array: Compact Unique Values In PlaceDSAEasycodingLeetCode (opens in a new tab)
734Reverse Bits: Mirror the 32 Bits of an Unsigned IntegerDSAEasycodingLeetCode (opens in a new tab)
735Reverse Linked List: Iterative and Recursive SolutionsDSAEasycodingLeetCode (opens in a new tab)
736Reverse String: Reverse a Character Array in PlaceDSAEasycodingLeetCode (opens in a new tab)
737Same Tree: Comparing Two Binary Trees Recursively and IterativelyDSAEasycodingLeetCode (opens in a new tab)
738Segregate 0s and 1s: Partition a Binary Array in One PassDSAEasycodingGeeksforGeeks (opens in a new tab)
739Set Mismatch: Find the Duplicate and the Missing Number With Cyclic SortDSAEasycodingLeetCode (opens in a new tab)
740Single Number: Find the Value That Appears Only Once Using XORDSAEasycodingLeetCode (opens in a new tab)
741Squares of a Sorted Array: Merge From Both Ends Without SortingDSAEasycodingLeetCode (opens in a new tab)
742Subtree of Another Tree: Brute-Force Matching and Linear SerialisationDSAEasycodingLeetCode (opens in a new tab)
743Two Sum: Find Two Indices That Add Up to a TargetDSAEasycodingLeetCode (opens in a new tab)
744Valid Anagram: Check Whether Two Strings Use the Same LettersDSAEasycodingLeetCode (opens in a new tab)
745Valid Palindrome II: Palindrome After Deleting at Most One CharacterDSAEasycodingLeetCode (opens in a new tab)
746Valid Palindrome: Check a Phrase While Ignoring Case and PunctuationDSAEasycodingLeetCode (opens in a new tab)
747Valid Parentheses: Check That Every Bracket Closes in the Right OrderDSAEasycodingLeetCode (opens in a new tab)
7480 - 1 Knapsack Problem: Take or Skip Each Item OnceDSAMediumcodingGeeksforGeeks (opens in a new tab)
749132 Pattern: Find a Low, High, Middle Subsequence in One PassDSAMediumcodingLeetCode (opens in a new tab)
7503Sum Closest: Sort, Fix One Value, and Squeeze Two PointersDSAMediumcodingLeetCode (opens in a new tab)
#QuestionTopicDifficultyTypePractiseDone
7513Sum: Find All Unique Triplets That Sum to ZeroDSAMediumcodingLeetCode (opens in a new tab)
7524Sum: Two Fixed Indices, Two Pointers and Careful Duplicate SkippingDSAMediumcodingLeetCode (opens in a new tab)
753Add Two Numbers: Digit-by-Digit Addition on Linked ListsDSAMediumcodingLeetCode (opens in a new tab)
754Aggressive Cows: Maximise the Minimum Gap with Binary SearchDSAMediumcodingGeeksforGeeks (opens in a new tab)
755Best Time to Buy and Sell Stock with Cooldown: State-Machine DPDSAMediumcodingLeetCode (opens in a new tab)
756Binary Tree Level Order Traversal: BFS with a Queue, Level by LevelDSAMediumcodingLeetCode (opens in a new tab)
757Binary Tree Right Side View: Last Node of Each LevelDSAMediumcodingLeetCode (opens in a new tab)
758Capacity To Ship Packages Within D Days: Binary Search on CapacityDSAMediumcodingLeetCode (opens in a new tab)
759Car Fleet: Count the Groups of Cars Arriving at a DestinationDSAMediumcodingLeetCode (opens in a new tab)
760Cheapest Flights Within K Stops: Bounded Bellman-Ford for Limited HopsDSAMediumcodingLeetCode (opens in a new tab)
761Circular Array Loop: Fast and Slow Pointers on Index JumpsDSAMediumcodingLeetCode (opens in a new tab)
762Clone Graph: Deep-Copy a Connected Graph with a Hash Map and BFS or DFSDSAMediumcodingLeetCode (opens in a new tab)
763Coin Change II: Count Combinations That Make an AmountDSAMediumcodingLeetCode (opens in a new tab)
764Coin Change: Fewest Coins with Bottom-Up DPDSAMediumcodingLeetCode (opens in a new tab)
765Combination Sum II: Use Each Value Once and Avoid Duplicate AnswersDSAMediumcodingLeetCode (opens in a new tab)
766Combination Sum: Reach a Target with Reusable Values via BacktrackingDSAMediumcodingLeetCode (opens in a new tab)
767Construct Binary Tree from Preorder and Inorder TraversalDSAMediumcodingLeetCode (opens in a new tab)
768Container With Most Water: Maximise Area Between Two LinesDSAMediumcodingLeetCode (opens in a new tab)
769Contiguous Array: Longest Balanced 0/1 Subarray via Prefix SumsDSAMediumcodingLeetCode (opens in a new tab)
770Copy List with Random Pointer: Hash Map and Interleaving SolutionsDSAMediumcodingLeetCode (opens in a new tab)
771Count Good Nodes in Binary Tree: DFS Carrying the Path MaximumDSAMediumcodingLeetCode (opens in a new tab)
772Count Subsets with Sum: Add Up the Ways, Not Just True or FalseDSAMediumcodingGeeksforGeeks (opens in a new tab)
773Course Schedule II: Return a Valid Course Order with Topological SortDSAMediumcodingLeetCode (opens in a new tab)
774Course Schedule: Detect a Cycle in a Prerequisite Graph with Kahn's AlgorithmDSAMediumcodingLeetCode (opens in a new tab)
775Daily Temperatures: Days Until a Warmer Day With a Monotonic StackDSAMediumcodingLeetCode (opens in a new tab)
776Decode Ways: Count Digit-to-Letter Decodings with Prefix DPDSAMediumcodingLeetCode (opens in a new tab)
777Delete Node in a BST: Leaf, One Child and Two Children CasesDSAMediumcodingLeetCode (opens in a new tab)
778Design Add and Search Words: Trie Search with WildcardsDSAMediumcoding, architectureLeetCode (opens in a new tab)
779Design Circular Queue: A Fixed-Capacity Ring BufferDSAMediumcodingLeetCode (opens in a new tab)
780Design Twitter: News Feed with a K-Way Heap MergeDSAMediumcoding, architectureLeetCode (opens in a new tab)
781Edit Distance: Levenshtein Distance with a 2D DP TableDSAMediumcodingLeetCode (opens in a new tab)
782Encode and Decode Strings: Serialise a List of Strings SafelyDSAMediumcodingGeeksforGeeks (opens in a new tab)
783Evaluate Reverse Polish Notation: Compute a Postfix ExpressionDSAMediumcodingLeetCode (opens in a new tab)
784Extra Characters in a String: Dynamic Programming over a Trie of WordsDSAMediumcodingLeetCode (opens in a new tab)
785Find All Anagrams in a String: Fixed Window With Letter CountsDSAMediumcodingLeetCode (opens in a new tab)
786Find All Duplicates in an Array: Cyclic Sort and Sign Marking in O(1) SpaceDSAMediumcodingLeetCode (opens in a new tab)
787Find First and Last Position of a Value: Lower and Upper Bound Binary SearchDSAMediumcodingLeetCode (opens in a new tab)
788Find K Closest Elements: Binary Search for the Best WindowDSAMediumcodingLeetCode (opens in a new tab)
789Find Minimum in Rotated Sorted Array: Binary Search Against the Right EndDSAMediumcodingLeetCode (opens in a new tab)
790Find Peak Element: Follow the Uphill Side with Binary SearchDSAMediumcodingLeetCode (opens in a new tab)
791Find the Duplicate Number: Cycle Detection on an ArrayDSAMediumcodingLeetCode (opens in a new tab)
792Fruit Into Baskets: Longest Window With at Most Two Distinct ValuesDSAMediumcodingLeetCode (opens in a new tab)
793Gas Station: Find the Start of a Circular Route in One Greedy PassDSAMediumcodingLeetCode (opens in a new tab)
794Generate Parentheses: List Every Balanced String of n PairsDSAMediumcodingLeetCode (opens in a new tab)
795Graph Valid Tree: Check Edge Count, Connectivity and Cycles with Union-FindDSAMediumcodingGeeksforGeeks (opens in a new tab)
796Group Anagrams: Bucket Words That Share the Same LettersDSAMediumcodingLeetCode (opens in a new tab)
797Hand of Straights: Group Cards into Consecutive Runs GreedilyDSAMediumcodingLeetCode (opens in a new tab)
798House Robber II: Non-Adjacent Maximum Sum When Houses Form a CircleDSAMediumcodingLeetCode (opens in a new tab)
799House Robber: Maximum Non-Adjacent Sum with Take-or-Skip DPDSAMediumcodingLeetCode (opens in a new tab)
800Implement Trie (Prefix Tree): Insert, Search and Prefix LookupDSAMediumcoding, architectureLeetCode (opens in a new tab)
#QuestionTopicDifficultyTypePractiseDone
801Insert Interval: Add a Range to a Sorted List and Merge OverlapsDSAMediumcodingLeetCode (opens in a new tab)
802Insert into a BST: Walk Down to the Empty SpotDSAMediumcodingLeetCode (opens in a new tab)
803Interleaving String: Can Two Strings Merge into a Third? 2D DPDSAMediumcodingLeetCode (opens in a new tab)
804Interval List Intersections: Two Pointers over Sorted RangesDSAMediumcodingLeetCode (opens in a new tab)
805Is Graph Bipartite?: Two-Colour Every ComponentDSAMediumcodingLeetCode (opens in a new tab)
806Jump Game II: Fewest Jumps to the End with Greedy Level-by-Level BFSDSAMediumcodingLeetCode (opens in a new tab)
807Jump Game: Can You Reach the Last Index? Greedy Furthest ReachDSAMediumcodingLeetCode (opens in a new tab)
808K Closest Points to Origin: Bounded Max-Heap and QuickselectDSAMediumcodingLeetCode (opens in a new tab)
809Koko Eating Bananas: Binary Search on the AnswerDSAMediumcodingLeetCode (opens in a new tab)
810Kth Largest Element in an Array: Heap, Quickselect and CountingDSAMediumcodingLeetCode (opens in a new tab)
811Kth Smallest Element in a BST: Inorder Traversal with Early StopDSAMediumcodingLeetCode (opens in a new tab)
812Kth Smallest Element in a Sorted Matrix: Binary Search on ValuesDSAMediumcodingLeetCode (opens in a new tab)
813Letter Case Permutation: Branch Twice on Every LetterDSAMediumcodingLeetCode (opens in a new tab)
814Letter Combinations of a Phone Number: Cartesian Product by BacktrackingDSAMediumcodingLeetCode (opens in a new tab)
815Linked List Cycle II: Find Where the Cycle Starts With Floyd's AlgorithmDSAMediumcodingLeetCode (opens in a new tab)
816Longest Common Subsequence: The Classic Two-String DP TableDSAMediumcodingLeetCode (opens in a new tab)
817Longest Consecutive Sequence: Longest Run of Consecutive Integers in O(n)DSAMediumcodingLeetCode (opens in a new tab)
818Longest Increasing Subsequence: O(n^2) DP and O(n log n) Patience SortingDSAMediumcodingLeetCode (opens in a new tab)
819Longest K Unique Characters Substring: A Window Bounded by a Distinct CountDSAMediumcodingGeeksforGeeks (opens in a new tab)
820Longest Palindromic Substring: Expand Around Centres or Interval DPDSAMediumcodingLeetCode (opens in a new tab)
821Longest Repeating Character Replacement: Window With At Most k ChangesDSAMediumcodingLeetCode (opens in a new tab)
822Longest Substring Without Repeating Characters: Sliding WindowDSAMediumcodingLeetCode (opens in a new tab)
823Lowest Common Ancestor of a Binary Tree: One Post-Order SearchDSAMediumcodingLeetCode (opens in a new tab)
824Lowest Common Ancestor of a BST: Follow the Split PointDSAMediumcodingLeetCode (opens in a new tab)
825LRU Cache: Hash Map Plus Doubly Linked List for O(1) OperationsDSAMediumcoding, architectureLeetCode (opens in a new tab)
826Max Area of Island: Largest Connected Land Region with Flood FillDSAMediumcodingLeetCode (opens in a new tab)
827Max Consecutive Ones III: Longest Window With at Most K ZerosDSAMediumcodingLeetCode (opens in a new tab)
828Maximum Absolute Sum of Any Subarray: Run Kadane for Max and MinDSAMediumcodingLeetCode (opens in a new tab)
829Maximum Candies Allocated to K Children: Binary Search on the ShareDSAMediumcodingLeetCode (opens in a new tab)
830Maximum Length of Pair Chain: Greedy by Earliest EndDSAMediumcodingLeetCode (opens in a new tab)
831Maximum Product Subarray: Track Both the Largest and Smallest ProductDSAMediumcodingLeetCode (opens in a new tab)
832Maximum Subarray Sum with One Deletion: Kadane With Two StatesDSAMediumcodingLeetCode (opens in a new tab)
833Maximum Subarray: Largest Sum of a Contiguous Slice with Kadane's AlgorithmDSAMediumcodingLeetCode (opens in a new tab)
834Maximum Sum Circular Subarray: Kadane Plus Total Minus MinimumDSAMediumcodingLeetCode (opens in a new tab)
835Maximum Sum Combination: The K Largest Pair Sums with a Max-HeapDSAMediumcodingGeeksforGeeks (opens in a new tab)
836Meeting Rooms II: Count the Rooms with a Min-Heap or a Sweep LineDSAMediumcodingGeeksforGeeks (opens in a new tab)
837Merge Intervals: Combine Every Overlapping RangeDSAMediumcodingLeetCode (opens in a new tab)
838Merge Triplets to Form Target: Keep Only Triplets That Never OvershootDSAMediumcodingLeetCode (opens in a new tab)
839Min Cost to Connect All Points: Minimum Spanning Tree with Prim or KruskalDSAMediumcodingLeetCode (opens in a new tab)
840Min Cost to Connect Ropes: Always Join the Two ShortestDSAMediumcodingGeeksforGeeks (opens in a new tab)
841Min Stack: A Stack That Returns Its Minimum in Constant TimeDSAMediumcodingLeetCode (opens in a new tab)
842Minimum Add to Make Parentheses Valid: Count Unmatched Brackets in One PassDSAMediumcodingLeetCode (opens in a new tab)
843Minimum Height Trees: Trim Leaves Until the Centre RemainsDSAMediumcodingLeetCode (opens in a new tab)
844Minimum Number of Days to Make m Bouquets: Binary Search on the DayDSAMediumcodingLeetCode (opens in a new tab)
845Minimum Size Subarray Sum: Grow Until Valid, Then ShrinkDSAMediumcodingLeetCode (opens in a new tab)
846My Calendar I: Accept Bookings Only When They Do Not OverlapDSAMediumcodingLeetCode (opens in a new tab)
847Network Delay Time: Single-Source Shortest Paths with Dijkstra's AlgorithmDSAMediumcodingLeetCode (opens in a new tab)
848Next Greater Element II: Monotonic Stack Over a Circular ArrayDSAMediumcodingLeetCode (opens in a new tab)
849Non-overlapping Intervals: Fewest Removals to Eliminate OverlapsDSAMediumcodingLeetCode (opens in a new tab)
850Number of Closed Islands: Sink the Border, Then CountDSAMediumcodingLeetCode (opens in a new tab)
#QuestionTopicDifficultyTypePractiseDone
851Number of Connected Components in an Undirected Graph with Union-FindDSAMediumcodingGeeksforGeeks (opens in a new tab)
852Number of Islands: Count Connected Land Cells with BFS, DFS or Union-FindDSAMediumcodingLeetCode (opens in a new tab)
853Number of Provinces: Count Components in an Adjacency MatrixDSAMediumcodingLeetCode (opens in a new tab)
854Pacific Atlantic Water Flow: Reverse Multi-Source BFS from Both OceansDSAMediumcodingLeetCode (opens in a new tab)
855Palindrome Partitioning: Split a String into Palindromes by BacktrackingDSAMediumcodingLeetCode (opens in a new tab)
856Palindromic Substrings: Count Every Palindrome by Expanding Around CentresDSAMediumcodingLeetCode (opens in a new tab)
857Partition Equal Subset Sum: 0/1 Knapsack on Half the TotalDSAMediumcodingLeetCode (opens in a new tab)
858Partition Labels: Split a String So Each Letter Stays in One PartDSAMediumcodingLeetCode (opens in a new tab)
859Path With Minimum Effort: Minimise the Largest Step on a GridDSAMediumcodingLeetCode (opens in a new tab)
860Peak Index in a Mountain Array: Binary Search on the SlopeDSAMediumcodingLeetCode (opens in a new tab)
861Permutation in String: Does One String Contain a Rearrangement of Another?DSAMediumcodingLeetCode (opens in a new tab)
862Permutations: Every Ordering of Distinct Values with BacktrackingDSAMediumcodingLeetCode (opens in a new tab)
863Product of Array Except Self: Prefix and Suffix Products Without DivisionDSAMediumcodingLeetCode (opens in a new tab)
864Redundant Connection: Find the Edge That Closes a Cycle with Union-FindDSAMediumcodingLeetCode (opens in a new tab)
865Remove All Adjacent Duplicates in String II: Stack of Character CountsDSAMediumcodingLeetCode (opens in a new tab)
866Remove Duplicate Letters: Smallest Order with a Greedy Monotonic StackDSAMediumcodingLeetCode (opens in a new tab)
867Remove K Digits: Smallest Number With a Greedy Monotonic StackDSAMediumcodingLeetCode (opens in a new tab)
868Remove Nodes From Linked List: Keep Nodes With Nothing Larger to Their RightDSAMediumcodingLeetCode (opens in a new tab)
869Remove Nth Node From End of List: One Pass with a Gap of nDSAMediumcodingLeetCode (opens in a new tab)
870Reorder List: Find the Middle, Reverse, Then InterleaveDSAMediumcodingLeetCode (opens in a new tab)
871Reorganize String: Place the Most Frequent Character First, Never Twice in a RowDSAMediumcodingLeetCode (opens in a new tab)
872Reverse Linked List II: Reverse a Sublist in One Pass With a Dummy NodeDSAMediumcodingLeetCode (opens in a new tab)
873Rotate Image: Turn a Square Matrix 90 Degrees Clockwise in PlaceDSAMediumcodingLeetCode (opens in a new tab)
874Rotate List: Close the Ring, Then Cut It at the New TailDSAMediumcodingLeetCode (opens in a new tab)
875Rotting Oranges: Minutes to Spread via Level-by-Level Multi-Source BFSDSAMediumcodingLeetCode (opens in a new tab)
876Search a 2D Matrix II: Staircase Search from the Top-Right CornerDSAMediumcodingLeetCode (opens in a new tab)
877Search a 2D Matrix: Binary Search over a Flattened Sorted GridDSAMediumcodingLeetCode (opens in a new tab)
878Search in Rotated Sorted Array: One-Pass Binary SearchDSAMediumcodingLeetCode (opens in a new tab)
879Search Suggestions System: Autocomplete with a Trie or Sorted Binary SearchDSAMediumcodingLeetCode (opens in a new tab)
880Set Matrix Zeroes: Zero Out Rows and Columns in PlaceDSAMediumcodingLeetCode (opens in a new tab)
881Shortest Unsorted Continuous Subarray: Find the Boundaries With Running Max and MinDSAMediumcodingLeetCode (opens in a new tab)
882Simplify Path: Canonical Unix Paths With a Stack of Directory NamesDSAMediumcodingLeetCode (opens in a new tab)
883Single Number III: Split Two Unique Values With One XOR BitDSAMediumcodingLeetCode (opens in a new tab)
884Sort Characters By Frequency: Count, Then Order by a Heap or BucketsDSAMediumcodingLeetCode (opens in a new tab)
885Sort Colors: One-Pass Three-Way Partition of 0s, 1s and 2sDSAMediumcodingLeetCode (opens in a new tab)
886Spiral Matrix: Read a Grid in Clockwise Spiral OrderDSAMediumcodingLeetCode (opens in a new tab)
887String to Integer (atoi): Parse a Signed 32-bit Integer by HandDSAMediumcodingLeetCode (opens in a new tab)
888Subarray Product Less Than K: Count Windows Ending at Each IndexDSAMediumcodingLeetCode (opens in a new tab)
889Subarray Sum Equals K: Count Contiguous Slices With a Given SumDSAMediumcodingLeetCode (opens in a new tab)
890Subarray Sums Divisible by K: Count Matching Prefix RemaindersDSAMediumcodingLeetCode (opens in a new tab)
891Subset Sum Problem: Track Every Reachable TotalDSAMediumcodingGeeksforGeeks (opens in a new tab)
892Subsets II: Power Set Without Duplicates When Values RepeatDSAMediumcodingLeetCode (opens in a new tab)
893Subsets: Generate the Power Set with Include/Exclude BacktrackingDSAMediumcodingLeetCode (opens in a new tab)
894Sum of Two Integers: Add Without the Plus or Minus OperatorDSAMediumcodingLeetCode (opens in a new tab)
895Surrounded Regions: Capture Enclosed Cells by Flood-Filling from the BorderDSAMediumcodingLeetCode (opens in a new tab)
896Swap Nodes in Pairs: Rewire Every Two Nodes With a Dummy HeadDSAMediumcodingLeetCode (opens in a new tab)
897Target Sum: Count Sign Assignments with Subset-Sum DPDSAMediumcodingLeetCode (opens in a new tab)
898Task Scheduler: Cooldowns with a Max-Heap or a Counting FormulaDSAMediumcodingLeetCode (opens in a new tab)
899Time Based Key-Value Store: Versioned Lookups with Binary SearchDSAMediumcoding, architectureLeetCode (opens in a new tab)
900Top K Frequent Elements: Return the k Most Common ValuesDSAMediumcodingLeetCode (opens in a new tab)
#QuestionTopicDifficultyTypePractiseDone
901Topological Sort: Order a DAG with Kahn's Algorithm or DFSDSAMediumcodingGeeksforGeeks (opens in a new tab)
902Triplets with Smaller Sum: Count Many Pairs at Once With Two PointersDSAMediumcodingGeeksforGeeks (opens in a new tab)
903Two Sum II: Find a Pair With a Target Sum in a Sorted ArrayDSAMediumcodingLeetCode (opens in a new tab)
904Unique Paths: Count Grid Routes with 2D DP or a Binomial CoefficientDSAMediumcodingLeetCode (opens in a new tab)
905Valid Parenthesis String: Track a Range of Open Counts GreedilyDSAMediumcodingLeetCode (opens in a new tab)
906Valid Sudoku: Check Rows, Columns and Boxes for Repeated DigitsDSAMediumcodingLeetCode (opens in a new tab)
907Validate Binary Search Tree: Bounds Recursion and Inorder CheckDSAMediumcodingLeetCode (opens in a new tab)
908Word Break: Can a String Be Split into Dictionary Words? Prefix DPDSAMediumcodingLeetCode (opens in a new tab)
909Word Search: Trace a Word Through a Letter Grid with DFS BacktrackingDSAMediumcodingLeetCode (opens in a new tab)
910Alien Dictionary: Derive a Letter Order from Sorted Words with Topological SortDSAHardcodingGeeksforGeeks (opens in a new tab)
911Binary Tree Maximum Path Sum: Post-Order Gains with a Global BestDSAHardcodingLeetCode (opens in a new tab)
912Burst Balloons: Interval DP by Choosing the Last Balloon to BurstDSAHardcodingLeetCode (opens in a new tab)
913Find Median from Data Stream: Two Heaps Kept in BalanceDSAHardcodingLeetCode (opens in a new tab)
914First Missing Positive: Cyclic Sort Into Home Slots in O(n) Time, O(1) SpaceDSAHardcodingLeetCode (opens in a new tab)
915IPO: Maximise Capital by Picking the Best Affordable Project Each RoundDSAHardcodingLeetCode (opens in a new tab)
916Largest Rectangle in Histogram: Biggest Area Under the BarsDSAHardcodingLeetCode (opens in a new tab)
917Maximum Frequency Stack: Pop the Most Frequent Value in O(1)DSAHardcoding, architectureLeetCode (opens in a new tab)
918Median of Two Sorted Arrays: Partition Binary Search in O(log min(m, n))DSAHardcodingLeetCode (opens in a new tab)
919Merge k Sorted Lists: Min-Heap and Divide-and-Conquer SolutionsDSAHardcodingLeetCode (opens in a new tab)
920Minimum Window Substring: Shortest Slice Containing Every Required CharacterDSAHardcodingLeetCode (opens in a new tab)
921N-Queens: Place Non-Attacking Queens Row by Row with BacktrackingDSAHardcodingLeetCode (opens in a new tab)
922Partition Into 2 Subsets with Min Sum Diff: Subset Sum Up to Half the TotalDSAHardcodingGeeksforGeeks (opens in a new tab)
923Reconstruct Itinerary: Eulerian Path with Hierholzer's AlgorithmDSAHardcodingLeetCode (opens in a new tab)
924Regular Expression Matching: Dot and Star with a 2D DP TableDSAHardcodingLeetCode (opens in a new tab)
925Reverse Nodes in k-Group: In-Place Group Reversal on a Linked ListDSAHardcodingLeetCode (opens in a new tab)
926Serialize and Deserialize Binary Tree: Preorder with Null MarkersDSAHardcodingLeetCode (opens in a new tab)
927Shortest Subarray with Sum at Least K: Prefix Sums and a Monotonic DequeDSAHardcodingLeetCode (opens in a new tab)
928Sliding Window Maximum: Max of Every Window With a Monotonic DequeDSAHardcodingLeetCode (opens in a new tab)
929Sliding Window Median: Two Heaps with Lazy DeletionDSAHardcodingLeetCode (opens in a new tab)
930Smallest Range Covering Elements from K Lists: K-Way Merge with a Min-HeapDSAHardcodingLeetCode (opens in a new tab)
931Split Array Largest Sum: Binary Search on the Largest PartDSAHardcodingLeetCode (opens in a new tab)
932Substring with Concatenation of All Words: Word-Sized Sliding Windows per OffsetDSAHardcodingLeetCode (opens in a new tab)
933Sudoku Solver: Backtracking with Constraint Sets and Smart Cell ChoiceDSAHardcodingLeetCode (opens in a new tab)
934Swim in Rising Water: Minimax Path with a Modified DijkstraDSAHardcodingLeetCode (opens in a new tab)
935Trapping Rain Water: Total Water Held Between Elevation BarsDSAHardcodingLeetCode (opens in a new tab)
936Word Ladder: Shortest Word Transformation with BFS and Wildcard BucketsDSAHardcodingLeetCode (opens in a new tab)
937Word Search II: Find Many Words in a Grid with a Trie and BacktrackingDSAHardcodingLeetCode (opens in a new tab)
938Design a star schema for a business process. What is the grain?Data modelingMediumarchitecture, scenario—
939Kimball vs Inmon vs Data Vault: which would you choose for a new warehouse?Data modelingMediumarchitecture, conceptual—
940One big table or a star schema: how do you decide?Data modelingMediumarchitecture, scenario—
941Surrogate keys vs natural keys: which should a dimension use, and why?Data modelingMediumconceptual, scenario—
942Transaction, periodic snapshot or accumulating snapshot: which fact table would you build?Data modelingMediumconceptual, scenario—
943What are conformed and role-playing dimensions, and how do you use them?Data modelingMediumconceptual, coding—
944How do you implement an SCD Type 2 dimension and query it with as-of joins?Data modelingHardcoding, conceptual—
945How do you model late-arriving dimensions and late-arriving facts in a star schema?Data modelingHardscenario, coding—

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

Search
Filter by type