Congratulations
Congrats, you completed all necessary steps!
You implemented different functions that using BFS which may be useful for the Graph class. For now, the last tiny step is to think about some code reorganization and optimal usage.
You may notice that methods above usually contain similar code, and some methods can reuse others. For example, hasOneComponent() and getComponents() do the similar action, so we can combine them.
Let's go to the tasks!
¡Gracias por tus comentarios!
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Resumir este capítulo
Explicar el código en file
Explicar por qué file no resuelve la tarea
Awesome!
Completion rate improved to 7.69
Congratulations
Desliza para mostrar el menú
Congrats, you completed all necessary steps!
You implemented different functions that using BFS which may be useful for the Graph class. For now, the last tiny step is to think about some code reorganization and optimal usage.
You may notice that methods above usually contain similar code, and some methods can reuse others. For example, hasOneComponent() and getComponents() do the similar action, so we can combine them.
Let's go to the tasks!
¡Gracias por tus comentarios!
single