Ankit_12's blog

By Ankit_12, history, 3 years ago, In English

I am using "Airtel" company sim card, anyone know how to resolve it. I am writing this post with my friends internet connection.

I am facing this problem from today's noon.

Please help

Full text and comments »

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

By Ankit_12, history, 3 years ago, In English

Make a Power of Two In this problem, I wrote the code and it gives me TLE on test case-3 without any reason because my code runs in worst-case (269*11) = 2959 and the time limit for this problem is "one second" but still it gives me TLE why? I don't have any Idea anyone help me

My code

Full text and comments »

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

By Ankit_12, 3 years ago, In English

Which value we have to choose such that it will give the maximum count. problem

Full text and comments »

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

By Ankit_12, history, 4 years ago, In English

Hello Everyone I have a question related to Dynamic Programming. Whenever you are trying to solve DP question in the ongoing contest you first think recursive or you directly write the code in tabulation format.

Full text and comments »

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