Google Interview Question

How are you doing this leet code problems