About 1,170,000 results
Open links in new tab
  1. Implementation of Graph in C - GeeksforGeeks

    Dec 12, 2024 · In C++, graphs are non-linear data structures that are used to represent the relationships between various objects. A graph is defined as a collection of vertices and edges. In this article, we will learn how to implement the graph data structure in C++.

  2. Graph Data Structure in C# | BFS & DFS Code- Learn Coding from Experts

    Sep 19, 2020 · In this article, we will implement a Graph Data Structure in C#. What is a Graph Data Structure? In the Graph data structure, each Node can be connected to many other Nodes. It can be compared with a road network. Many cities are connected with different routes. We call these routes as edges in Graph Data structure. Graph Data structure widely ...

  3. Graph Data Structure - GeeksforGeeks

    Apr 13, 2025 · Graphs are fundamental data structures in various computer science applications, including network design, social network analysis, and route planning. Understanding graph terminology is crucial for effectively navigating and manipulating graph data structures.

  4. Implement Graph Data Structure in C - Techie Delight

    Sep 23, 2022 · This post will cover graph data structure implementation in C using an adjacency list. The post will cover both weighted and unweighted implementation of directed and undirected graphs.

  5. Graph Data Structure - Programiz

    Example of graph data structure. All of facebook is then a collection of these nodes and edges. This is because facebook uses a graph data structure to store its data. More precisely, a graph is a data structure (V, E) that consists of. A collection of vertices V; A collection of edges E, represented as ordered pairs of vertices (u,v) Vertices ...

  6. C Programming Exercises: Graph Structure and Algorithms

    Mar 19, 2025 · In computer science, a graph is an abstract data type that is meant to implement the undirected graph and directed graph concepts from the field of graph theory within mathematics.

  7. Java Program to Implement the graph data structure

    In the above example, we have implemented the graph data structure in Java. To learn more about graphs, visit Graph Data Structure.

  8. Graph Data Structure | Types, Algorithms & More (+Code Examples)

    In this article, we’ll explore the concept of graph data structures, their components, types, and practical uses. Additionally, we’ll understand the implementation techniques and algorithms that bring graphs to life in programming. What Is A Graph Data Structure?

  9. Graph Algorithms and Data Structures Explained with Java and C++ Examples

    Jan 3, 2020 · Graph algorithms are a set of instructions that traverse (visits nodes of a) graph. Some algorithms are used to find a specific node or the path between two given nodes. Graphs are very useful data structures which can be to model various problems.

  10. Implementation of Graph in C++ - GeeksforGeeks

    Jun 13, 2024 · In C++, graphs are non-linear data structures that are used to represent the relationships between various objects. A graph is defined as a collection of vertices and edges. In this article, we will learn how to implement the graph data structure in C++.

  11. Some results have been removed
Refresh