Skip to content

Instantly share code, notes, and snippets.

View dalit803's full-sized avatar

dalit803

  • Joined Sep 24, 2025
View GitHub Profile
Practical no:1
Write a program to implement breath first search algorithm.
graph = {
'A': set(['B', 'C']),
'B': set(['A', 'D', 'E']),
'C': set(['A', 'F']),
'D': set(['B']),
'E': set(['B', 'F']),
'F': set(['C', 'E'])
}