Help with SPOJ_AKBAR

Revision en1, by ajkdrag, 2019-06-25 11:11:58

I coded up the solution in Java, and for some reason, I am getting TLE. I feel the solution is correct. Any insights will be appreciated. Code :

Tags #spoj, bfs, #graphs, #java


  Rev. Lang. By When Δ Comment
en1 English ajkdrag 2019-06-25 11:11:58 243 Initial revision (published)