MY TRAFFIC interview question

3 exercises on data structure reformatting