Commit Graph

6 Commits

Author SHA1 Message Date
Anmol3299
9d8736e79e Explicitely specify type of vector during graph instantiation 2020-06-03 20:40:09 +05:30
Anmol3299
8f04ffe3fb Remove a useless and possibly bad Graph constuctor overload 2020-06-03 20:33:38 +05:30
Anmol3299
a77dafba64 Use pointer instead of the non-const reference
because apparently google says so.
2020-06-03 19:40:51 +05:30
Anmol3299
a3df421e36 fix bad code
sorry for force push
2020-06-03 18:53:01 +05:30
Anmol3299
c1fadaaeb3 Remove const references for input of simple types
Reason: overhead on access
2020-06-03 18:17:05 +05:30
Anmol3299
09af5e3c0e feat: Add BFS and DFS algorithms to check for cycle in a directed graph 2020-06-02 21:36:31 +05:30