Skip to content

Instantly share code, notes, and snippets.

@libaoke
libaoke / graph_101.cpp
Created December 1, 2020 09:14 — forked from abrarShariar/graph_101.cpp
Graph implementation using C++
/*
Graph implementation following tutorial http://www.geeksforgeeks.org/graph-and-its-representations/
*/
#include<iostream>
#include<cstdlib>
using namespace std;
//struct for an adjacency list node
struct AdjListNode{
int data;