Skip to content

51. Consecutive Status Runs (Gaps and Islands)

Difficulty: Hard · Topics: Window Functions, Aggregations

An advanced problem: unlock it to open the statement, sample data and editor. Graded on 3 test cases.

Learn the concepts

PySpark functions you'll practise

Related problems

Browse

Topics: Window Functions · Joins · Aggregations · Pivot, Unpivot & Rollup · Arrays · Null Handling · Conditional Logic · Dates · Filtering & Selection · Strings · Data Lake · Lakehouse · Streaming · Data Prep for AI · Spark Performance

Difficulty: Easy · Medium · Hard · Learn · All problems · dbt practice