2nd question in codingame's kirk's quest partially solved
2nd question in codingame's kirk's quest partially solved

we may need to use graph algorithms to solve this

dhiachou/challenges,dhiachou/challenges,dhiachou/challenges,dhiachou/challenges