Pariveda interview question

Timed test was pretty easy.