Pregunta de entrevista de HERE Technologies

please explain BFS and bubble sort