- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

## Found 32 Articles for Graph Algorithms

13K+ Views

In complex systems involving multiple processes and shared resources, the potential for deadlocks arises when processes wait for each other to release resources, causing a standstill. The resulting deadlocks can cause severe issues in computer systems, such as performance degradation and even system crashes. To prevent such problems, the technique of deadlock avoidance is employed. It entails scrutinizing the requests made by processes for resources and evaluating the available resources to determine if the grant of such requests would lead to a deadlock. In cases where granting a request would result in a deadlock, the system denies the request. Deadlock ... Read More

520 Views

Tables and figures are both visual aids that are used to make data and information more accessible and understandable. The primary distinction between tables and figures is how information is displayed. A table is used to display data in a numerical or categorical. It is a structured collection of data that is organized in rows and columns. It is used to compare the two or more sets of data. A figure is a graphical representation of data such as map, graph, image, or illustration. They're especially useful for communicating complex information or data that's delicate to describe verbally. ... Read More

637 Views

Let us understand the concepts of Microsoft Excel and Microsoft Access before learning the differences between them.Microsoft AccessIt is a database management system offered by Microsoft which puts together the relational Microsoft Jet Database Engine with a graphical user interface and software development tools.AdvantagesThe advantages of Microsoft Access are as follows −Table structure and normalization through multiple tables − In a database you can store more information in one place and you use the address as a reference in many places.Records are free − The major difference between Microsoft excels and Microsoft access is that in a database records are ... Read More

6K+ Views

Both Trees and Graphs are types of non−linear data structures. They are different from each other in the context of their types of connections and loop formation. That means, a tree structure is connected such that it can never have loops, whereas a graph structure follows a network model and may have loops. Read this article to find out more about Tress and Graphs and how they are different from each other. What is Tree? A Tree is a non−linear data structure that is used to represent hierarchy. It is a set of nodes that are joined together to ... Read More

4K+ Views

Both Sequence diagrams and Collaboration diagrams are types of Unified Modelling Language (UML) diagrams that provide a pictorial representation of any behavioral flow among the objects or components in a system. We can distinguish between these two types of UML diagrams based on the basis of what each of them emphasizes. Read this article to learn more about sequence diagrams and collaboration diagrams and how they are different from each other. What is a Sequence Diagram? A Sequence Diagram is one that represents the sequence of messages flowing from one object to another. The main emphasis is on representing how ... Read More

5K+ Views

Both sequence diagrams and activity diagrams are commonly used in software engineering to model the interactions and flows within a system. They are also useful in other fields, such as business process modeling, to model and analyze the flow of activities or interactions within a business process. Read this article to find out more about sequence diagrams and activity diagrams and how they are different from each other. What is Sequence Diagram? A sequence diagram is a diagram in that is used in representing the sequence of messages flowing from one object to another. The main objective of a sequence ... Read More

434 Views

The graph is a non-linear data-structure, which consists finite number of nodes and a set of edges which are used to connect a pair of nodes. The graphs are used to solve some real-time problems to represent network etc. In different social networks, the graphs are used. In this Section We are going to cover − Bi-Connected Graph Checking Breadth First Search (BFS) for a Graph Bridges in a Graph Check if a given graph is tree or not Connectivity in a directed graph Depth First Search (DFS) for a Graph Detect Cycle in a an Undirected Graph Detect ... Read More

2K+ Views

Bellman-Ford algorithm is used to find minimum distance from the source vertex to any other vertex. The main difference between this algorithm with Dijkstra’s the algorithm is, in Dijkstra’s algorithm we cannot handle the negative weight, but here we can handle it easily.Bellman-Ford algorithm finds the distance in a bottom-up manner. At first, it finds those distances which have only one edge in the path. After that increase the path length to find all possible solutions.Input and OutputInput: The cost matrix of the graph: 0 6 ∞ 7 ∞ ∞ 0 5 8 -4 ∞ -2 0 ∞ ∞ ∞ ... Read More

338 Views

A graph is given; we have to check the given graph is a star graph or not.By traversing the graph, we have to find the number of vertices has degree one, and number of vertices, whose degree is n-1. (Here n is the number of vertices in the given graph). When the number of vertices with degree 1 is n-1 and a number of vertices with a degree (n-1) is one, then it is a star graph.Input and OutputInput: The adjacency matrix: 0 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 Output: ... Read More

11K+ Views

Transitive Closure it the reachability matrix to reach from vertex u to vertex v of a graph. One graph is given, we have to find a vertex v which is reachable from another vertex u, for all vertex pairs (u, v).The final matrix is the Boolean type. When there is a value 1 for vertex u to vertex v, it means that there is at least one path from u to v.Input and OutputInput: 1 1 0 1 0 1 1 0 0 0 1 1 0 0 0 1 Output: The matrix of transitive closure 1 1 1 ... Read More