CSES Problem Building Road Getting TLE despite Using iterative DFS

Revision en1, by noobboyyyy, 2021-02-14 13:53:03

Can anybody help me to figure out the reason why getting TLE DESPITE USING DFS Iterative Version Problem : https://cses.fi/problemset/task/1666/ My Solution :https://cses.fi/problemset/result/1699864/ It will be great if you can point out

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English noobboyyyy 2021-02-14 13:53:03 310 Initial revision (published)