competitivecoder's blog

By competitivecoder, history, 10 years ago, In English

I have been trying to debug my code for hours still don't know why my code is printing wrong answer.Actually I am trying to find number of connected components of a graph.Please help me in this regard.Thank you _/_ .Question link

Full text and comments »

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

By competitivecoder, history, 10 years ago, In English

Kindly give me approach to solve this problem ?Is there any algorithm behind this ?

Full text and comments »

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

By competitivecoder, 10 years ago, In English

Hello,I want to do this question which is tagged bitmasking.I am not getting how to solve this.Can anybody give me an approach how do I solve this ?

Full text and comments »

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