DSA-in-December

โœจ DAY 26: Graph (Prims, Kruskal, Dijkstra, BFS, DFS, Union Find Algorithm โœจ

๐Ÿ“Œ Graphs are mathematical structures that reflect the pairwise relationship between things. A graph is a type of flow structure that displays the interactions of several objects. It may be represented by utilizing the two fundamental components, nodes and edges.

โœ๏ธ ๐—™๐—ผ๐—ฟ ๐—ฏ๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐˜‚๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ๐—ถ๐—ป๐—ด ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐—ฟ ๐—ณ๐—ผ๐—น๐—น๐—ผ๐˜„๐—ถ๐—ป๐—ด ๐—ฎ๐—ฟ๐˜๐—ถ๐—ฐ๐—น๐—ฒ๐˜€ ;

  1. https://www.geeksforgeeks.org/graph-and-its-representations/
  2. https://www.geeksforgeeks.org/graph-data-structure-and-algorithms/
  3. https://www.softwaretestinghelp.com/graph-implementation-cpp/
  4. https://www.programiz.com/dsa/graph
  5. https://www.javatpoint.com/java-graph
  6. https://www.baeldung.com/java-graphs

๐Ÿ“ฝ๏ธ ๐—ง๐˜‚๐˜๐—ผ๐—ฟ๐—ถ๐—ฎ๐—น ๐—Ÿ๐—ถ๐—ป๐—ธ๐˜€;

  1. https://youtube.com/playlist?list=PLgUwDviBIf0oE3gA41TKO2H5bHpPd7fzn
  2. https://youtu.be/eGc5TQpBMjA
  3. https://youtu.be/TwdjOQMTaQ4
  4. https://youtu.be/EaK6aslcC5g

๐Ÿ‘จโ€๐Ÿ’ป ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐—ถ๐—ป๐—ด ๐—ฅ๐—ผ๐˜‚๐—ป๐—ฑ: ๐Ÿ‘‡

Prims and Kruskal Algorithm

  1. https://leetcode.com/problems/min-cost-to-connect-all-points/solutions/1135506/prims-algorith-and-kruskals-algorithm/ Dijkstra Algorithm
  2. https://leetcode.com/problems/network-delay-time/solutions/174339/c++-Easy-to-understand-Dijkstraโ€™s-algorithm/ Union Find Algorithm
  3. https://leetcode.com/discuss/general-discussion/1072418/Disjoint-Set-Union-(DSU)Union-Find-A-Complete-Guide BFS & DFS
  4. https://leetcode.com/discuss/study-guide/1072548/A-Beginners-guid-to-BFS-and-DFS