Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
160 Days of DSA (Win T-Shirt!)
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Algorithms
1.9k+ articles
Graph
940+ articles
DFS
340+ articles
DSA Quiz
320+ articles
BFS
210+ articles
TCS-coding-questions
110+ articles
QA - Placement Quizzes-Data Interpretation
61 articles
Volkswagen IT Services
58 articles
Graph Traversals
57 articles
Algorithms-Graph Traversals
40 posts
Popular Articles
Recent Articles
A* Search Algorithm in Python
Last Updated: 17 April 2024
Given an adjacency list and a heuristic function for a directed graph, implement the A* search algorithm to find the shortest path from a st
...read more
Algorithms
Algorithms-Graph Traversals
Picked
Python-DSA
DSA
Switch Users on Linux with the su Command
Last Updated: 19 January 2024
Switching users on a Linux system is a fundamental aspect of system administration, allowing users to perform tasks with different privilege
...read more
C++-Misc C++
Algorithms-Graph Traversals
JP Morgan
Linux-Unix
python-dict
Picked
Volkswagen IT Services
Geeks Premier League
Tatvasoft
Geeks Premier League 2023
Difference between tilde ( ~ ) and caret ( ^ ) in package.json
Last Updated: 14 August 2024
In package.json, the tilde (~) and caret (^) symbols are used to specify the version range for dependencies, controlling how updates are han
...read more
Algorithms-Graph Traversals
Difference Between
Web Technologies
JavaScript
Node.js
NodeJS-Questions
Node-npm
Web Technologies - Difference Between
Similar Topics
DSA
22.3k+ articles
Algorithms
1.9k+ articles
Graph
940+ articles
DFS
340+ articles
DSA Quiz
320+ articles
BFS
210+ articles
TCS-coding-questions
110+ articles
QA - Placement Quizzes-Data Interpretation
61+ articles
Volkswagen IT Services
58+ articles
Graph Traversals
57+ articles
Node vs Express
Last Updated: 07 January 2025
Node.js and Express are two essential tools in the JavaScript ecosystem, especially for server-side development. While they are often used t
...read more
Technical Scripter
C++-Misc C++
Algorithms-Graph Traversals
Difference Between
Web Technologies
JavaScript
Java-SecureRandom
Node.js
TCS-coding-questions
Node.js-Misc
Java-HijrahDate
Express.js
Python numpy-Random
Technical Scripter 2020
Web Technologies - Difference Between
Rational Numbers
Last Updated: 07 October 2024
Rational numbers are a fundamental concept in mathematics, defined as numbers that can be expressed as the ratio of two integers, where the
...read more
Technical Scripter
Algorithms-Graph Traversals
C Quiz - 108
QA - Placement Quizzes-Data Interpretation
GATE-GATE CS 1996
rational-numbers
Picked
TCS-coding-questions
Android
Mathematics
School Learning
Class 8
Technical Scripter 2020
Maths-Class-8
PrimeNG-DragDrop
Minimum time taken by each job to be completed given by a Directed Acyclic Graph
Last Updated: 19 April 2024
Given a Directed Acyclic Graph having V vertices and E edges, where each edge {U, V} represents the Jobs U and V such that Job V can only be
...read more
Graph
Algorithms
Greedy
BFS
Topological Sorting
Data Structures-Graph
Algorithms-Graph Traversals
Graph Traversals
DSA
Find number of closed islands in given Matrix
Last Updated: 22 February 2025
Given a binary matrix mat[][] of dimensions NxM such that 1 denotes the island and 0 denotes the water. The task is to find the number of cl
...read more
Graph
Algorithms
Matrix
BFS
DFS
union-find
Recursion
C++
Data Structures
Algorithms-Graph Traversals
Graph Traversals
C++ Programs
disjoint-set
DSA
Maximum cost path in an Undirected Graph such that no edge is visited twice in a row
Last Updated: 24 November 2021
Given an undirected graph having N vertices and M edges and each vertex is associated with a cost and a source vertex S is given. The task i
...read more
Arrays
Graph
Algorithms
Dynamic Programming
Greedy
DFS
Recursion
Algorithms-Graph Traversals
DSA
Difference Between Node Require and ES6 Import And Export
Last Updated: 18 February 2025
Importing modules makes your code reusable. NodeJS offers two ways to do this: CommonJS (require()) and ES6 modules (import/export). Both ac
...read more
Huawei
Algorithms-Graph Traversals
Web Technologies
JavaScript
Picked
Scala-Arrays
Node.js
TCS-coding-questions
Volkswagen IT Services
ES6
NodeJS-Modules
Check if a directed graph is connected or not
Last Updated: 13 March 2022
Given a directed graph. The task is to check if the given graph is connected or not.Examples:Input:Output: YesInput:Output: NoApproach:Take
...read more
Graph
DFS
Algorithms-Graph Traversals
DSA
attributes in C++
Last Updated: 30 January 2024
Attributes are one of the key features of modern C++ which allows the programmer to specify additional information to the compiler to enforc
...read more
Technical Scripter
C++
Algorithms-Graph Traversals
python-dict
cpp-priority-queue
SQL-PL/SQL
TCS-coding-questions
Volkswagen IT Services
ES6
Android
Intellipaat
Edge Coloring of a Graph
Last Updated: 15 March 2023
In graph theory, edge coloring of a graph is an assignment of "colors" to the edges of the graph so that no two adjacent edges have the same
...read more
Graph
Algorithms
BFS
Algorithms-Graph Traversals
Graph Coloring
DSA
Paths to travel each nodes using each edge (Seven Bridges of Königsberg)
Last Updated: 11 March 2023
There are n nodes and m bridges in between these nodes. Print the possible path through each node using each edges (if possible), traveling
...read more
Misc
Graph
Algorithms-Graph Traversals
DSA
A* Search Algorithm
Last Updated: 30 July 2024
Motivation To approximate the shortest path in real-life situations, like- in maps, games where there can be many hindrances.We can consi
...read more
Algorithms
Algorithms-Graph Traversals
QA - Placement Quizzes-Data Interpretation
Algorithms-InsertionSort
Perl-Scalars
TCS-coding-questions
Volkswagen IT Services
Python numpy-Random
DSA
Intellipaat
Algorithms | Graph Traversals | Question 12
Last Updated: 15 November 2018
The Breadth First Search algorithm has been implemented using the queue data structure. One possible order of visiting the nodes
...read more
DSA Quiz
Algorithms-Graph Traversals
Graph Traversals
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !