spontaneously's blog

By spontaneously, history, 10 years ago, In English

Problem Can someone please explain the intuition and maths for the problem. And it would be really helpful if you could suggest some problems for practice.

Full text and comments »

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

By spontaneously, history, 10 years ago, In English

Problem Can anyone help me with this problem I think its a greedy problem but I'm not able to find out a correct approach.

Full text and comments »

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

By spontaneously, history, 10 years ago, In English

Problem

I used dfs but I'm getting incorrect answer. here's my code

Full text and comments »

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