babu1998's blog

By babu1998, history, 4 years ago, In English

https://www.codechef.com/problems/CHEFCOMP

https://www.codechef.com/viewsolution/37171940

I cant understand why am i getting TLE even after applying all optimisations of DSU. Please help. I have tried this for question for 3 days.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By babu1998, history, 4 years ago, In English

I have been learning data structures and algorithms for a while now and I think now it's time to crack Google KickStart.

I am looking for like-minded individuals so that we can achieve these goals as a team and learn by collaborating with each other.

Those who are interested can join the WhatsApp group

https://chat.whatsapp.com/Dcao3q5hO7VCJvtvy1DlR6

Full text and comments »

  • Vote: I like it
  • -38
  • Vote: I do not like it

By babu1998, history, 4 years ago, In English

https://codeforces.com/contest/1348/problem/F

I read the editorial.

https://codeforces.com/blog/entry/76555

Looking for an explanation to solution 2

Can anyone take test case 1 and draw the graph and show exactly how the cycles are formed in the diagram

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it