T3 Softwares interview question

how to create table from a scrap data