Tokopedia interview question

Build a table to show some data, Recursive Loops