Luxoft interview question

Dataframe and json question limited to interviewer's knowledge