An introduction to Graph data structure.
We will cover:
0:00 The definition of Graph
1:08 Types of graphs
2:35 Common problems with graphs
4:30 Graph representations with an adjacency matrix and adjacency list
6:07 Main and additional graph methods
6:33 BFS and DFS traversal illustration
8:19 Big O for adjacency list implementation of a graph
9:26 Implementation of a graph and BFS in Javascript
(!) There is a tricky mistake with calling 'shift()'. In Javascript it will be O(N) because you need to reindex the entire array. So it is not acceptable and shouldn't be used. I'll fix that in the upcoming video about the BFS.
Nesta página do site você pode assistir ao vídeo on-line Graph - Data Structures in Javascript duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Questionable Coding 09 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 15,085 vezes e gostou 315 espectadores. Boa visualização!