DrawCode Practice Problem

Running Amount Per User · Factory checks 43

Factory checks DataFrame, variant 43. 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