ishu9bansal / ideone

useful pieces of codes
1 stars 1 forks source link

Graph code #26

Closed ishu9bansal closed 2 months ago

ishu9bansal commented 2 months ago

Split the code into multiple files for separation of concerns

solution.h only handles the code required to run the specific leetcode problem we are testing it on.

graph.h file has the graph class only

main.cpp file handles the actual run of the soution class and input/output handling

Also committed the output file to verify if we have made any mistakes. Output file should not change if we change our solution strategy.