In the question HOLI it is not given the graph would be a tree ? Bhaiya said he will discuss the implementation of the this problem in next video but he never discussed, I even searched coding blocks github archives and found this “https://github.com/coding-blocks-archives/algo-jan-18/blob/master/Lecture-13%20Graphs/graph_holi.cpp” , this code does’nt work for all inputs as I checked. Can u please provide the running code for this problem or if possible update the course with it.
HOLI Question Implementation
Hey @chikugoel1998
You can see this code
It works perfectly https://ideone.com/EupRVh
If your doubt is resolved please close it
I was not putting case number before each output like: Case #1
When prefixed my output with it, it got submitted
Thanks for the code
1 Like