Medium interview question

Cant remember anything too specific. Just basic stuff