Google interview question

introduction, one connected component type question and sliding window, 2 pointers