Bloomberg Interview Question

I was asked 2 graph problems