Dynamic Pivoting of a Table - DSA Problem | Talentd