DrawCode Practice Problem

Running Amount Per User · Sensor telemetry 74

Sensor telemetry DataFrame, variant 74. Return user_id, id, and running_amount ordered by user_id and event_time. Implement `solve(df)` and return a PySpark DataFrame.


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer