Google Cloud interview question

Question Based on graph, arrays, bit manipulation and intervals