Piece of mind for the problem setter


#1

whosoever posted this question in graph section, may rot in hell.


#2

Second that. Solved it under 5 min. Did not even think of graph based ans.


#3

Maybe they are trying to say don’t use graph for everything :wink:


#4

I calculated Fibonacci number using queue so, I think you can call it kind of bfs. not really sure though.