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!
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Resumir este capítulo
Explicar o código em file
Explicar por que file não resolve a tarefa
Awesome!
Completion rate improved to 7.69
Congratulations
Deslize para mostrar o menu
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!
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 7.69single