Koinz interview question

No difficulty at all