DrawCode Practice Problem

Fill Missing Scores · Device signals 31

Device signals DataFrame, variant 31. Replace null score with 1, 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