Skip to content
Avio Lines
Q11

Pivoting

3 stations · 26m

Turning rows into columns and columns into rows. 3 interview problems explained by Everyday Data Science (26m of video).

Start this line →
  1. Rearrange Products TableLC 1795 · 12:05
    EasyGoogle · Amazon · +1 more companiesLeetCode ↗ (opens in a new tab)
  2. Product's Price for Each StoreLC 1777 · 7:10 · LeetCode Premium
    EasyAmazonLeetCode ↗ (opens in a new tab)
  3. EasyGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)

All 3 stations in order

  1. 1.Rearrange Products Table (LeetCode 1795)
  2. 2.Product's Price for Each Store (LeetCode 1777)
  3. 3.Reformat Department Table (LeetCode 1179)