nqs_1's blog

By nqs_1, history, 4 years ago, In English

here is the link to the problem PROBLEM According to the editorial, this problem is solved using binary search +dp, but can we solve it with 2-D dp or any other way without using binary search ?

Full text and comments »

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

By nqs_1, history, 4 years ago, In English

can anyone help with solving this question of codechef , which I am unable to solve? here is the link to the question ZERO THE PATH , thx in Advance.

Full text and comments »

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

By nqs_1, history, 4 years ago, In English

how to mark all the nodes that are in a cycle in a graph?

Full text and comments »

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