ISDC interview question

2 simple algorithmic questions