Match Charter interview question

Nothing exceptionally hard...