Pergunta de entrevista da empresa HERE Technologies

please explain BFS and bubble sort