Bloomberg Interview Question

I was asked two easy/medium technical questions.