DrawCode Practice Problem

Pivot Monthly Sales

Given sales rows `(product, month, revenue)`, pivot so each product has columns for each month with revenue values (fill missing with 0).


Interactive Visualizer Workspace

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

Launch Interactive Visualizer