Google interview question

Asked about BFS told me to write pseudo code