Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2253. Dynamic Unpivoting of a Table
Convert a wide table into a long/normalized form by turning a variable set of value-columns into rows (i.e., unpivoting), producing identifier + column-name/ordinal + value tuples. The challenge is that the column set isn’t fixed at query time, so you must dynamically discover/generate the unpivot logic (metadata-driven or dynamic SQL) while preserving semantics such as order and NULL handling.
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.