DrawCode Practice Problem

Fill Missing Scores · Traffic samples 50

Traffic samples DataFrame, variant 50. Replace null score with 0, then return id and score ordered by id. 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