About 40,800 results
Open links in new tab
  1. Breadth First Search or BFS for a Graph - GeeksforGeeks

    Apr 21, 2025 · The Breadth First Search (BFS) algorithm is used to search a graph data structure for a node that meets a set of criteria. It starts at the root of the graph and visits all nodes at …

  2. Graph Algorithms - GeeksforGeeks

    Apr 1, 2024 · Graph algorithms are methods used to manipulate and analyze graphs, solving various range of problems like finding the shortest path, cycles detection. If you are looking for …

  3. How to Use do While Loop in Flowchart? - EdrawMax Online

    In this connection, for loop, while loop, and do while flowcharts are most extensively used in different areas; here, we'll illustrate everything you need to know about implementing do while …

  4. Understanding While Loop Charts and How To Make One

    Sep 3, 2024 · This guide shows how flowcharts can help you understand and create do-while loops. We discussed important ideas like validation, priming, sentinel values, and menu-driven …

  5. DSA Graphs Traversal - W3Schools

    Understanding how a Graph can be traversed is important for understanding how algorithms that run on Graphs work. The two most common ways a Graph can be traversed are: DFS is …

  6. Graph Algorithms - CSE 373

    Graph data structures (like adjacency lists) and graph algorithms (like Dijkstra’s algorithm) provided reusable abstractions for addressing many kinds of problems. Reduction refers to …

  7. Detect cycle in an undirected graph - GeeksforGeeks

    Apr 7, 2025 · BFS is useful for cycle detection in an undirected graph because it explores level by level, ensuring that each node is visited in the shortest possible way. It efficiently detects …

  8. While and Do-While Loop (Flowchart) - Software Ideas Modeler

    Feb 14, 2022 · This flowchart example shows a side-by-side comparison of the while and do-while loop. The while loop starts with the condition and then repeats the command execution while …

  9. Graph Algorithms: Traversals, Shortest Paths, and Beyond

    Nov 6, 2023 · Breadth-First Search (BFS) is a fundamental graph traversal algorithm that explores all the vertices of a graph in breadthward motion. It starts from a selected node (or vertex) and …

  10. algorithm - Cycles in an Undirected Graph - Stack Overflow

    Feb 8, 2009 · It is possible to visit a node multiple times in a DFS without a cycle existing. The question is about undirected graph but your answer only works in directed graph. @Sky It is …

Refresh