Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2253. Dynamic Unpivoting of a Table
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source