Search
⌘K
Get Premium
Leetcode 1179. Reformat Department Table
Pivot the Department table into a wide format with one row per id and twelve columns (Jan_Revenue through Dec_Revenue) showing each department's revenue for that month (null if missing), given month values are limited to Jan–Dec.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.