Skip to content

Instantly share code, notes, and snippets.

View georgeraveen's full-sized avatar

George Raveen georgeraveen

View GitHub Profile
/*
sample input
1 2 1
1 3 2
2 4 3
2 3 4
3 4 5
4 6 4
5 2 3
*/
@georgeraveen
georgeraveen / graph imple1 indirect weight.cpp
Last active November 17, 2019 06:33
indirect weighted graph implementation .cpp
/*
sample input
1 2 1
1 3 2
2 4 3
2 3 4
3 4 5
4 6 4
5 2 3
*/
@georgeraveen
georgeraveen / graph imple1 indirect weight BFS.cpp
Created November 17, 2019 06:35
indirect weighted graph implementation BFS traversal
/*
sample input
1 2 1
1 3 2
2 4 3
2 3 4
3 4 5
4 6 4
5 2 3
*/
@georgeraveen
georgeraveen / graph imple1 indirect weight DFS.cpp
Created November 17, 2019 15:56
DFS for indirect weighted graph implementation
/*
sample input
1 2 1
1 3 2
2 4 3
2 3 4
3 4 5
4 6 4
5 2 3
*/

Keybase proof

I hereby claim:

  • I am georgeraveen on github.
  • I am georgeraveen (https://keybase.io/georgeraveen) on keybase.
  • I have a public key ASCdPSLpM_EIZFwhBB-uTSD_4GtQXgNK9SqpXaQIAPwGhQo

To claim this, I am signing this object: