Available question text
Reshape a table from wide to long by unpivoting the quarter_1–quarter_4 columns into rows so each record contains product, quarter, and sales. This is essentially a melt/unpivot operation that converts quarterly columns into a single "quarter" column with corresponding "sales" values.
Related questions
Continue with questions that share topics or the same question type.
- Reshape Data Concatenate
Coding
- Reshape Data Pivot
Coding
- 2 easy questions. Basic data structures/algorithm.
Coding
- All O`one Data Structure
Coding · Design · Doubly-Linked List · Hash Table
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 2890. Reshape Data: Melt
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source