Leetcode 1795. Rearrange Products Table
Transform the Products table from a wide format to a long format by unpivoting the store1, store2, and store3 columns into rows of (product_id, store, price), omitting any rows where price is null.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.