sonu007's blog

By sonu007, history, 7 years ago, In English

My rank is below 350 and in india below 100.I am in third year can i get chance of intership or not.

Full text and comments »

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

By sonu007, history, 7 years ago, In English

int modpow(int x, int n, int m) { if (n == 0) return 1%m; int u = modpow(x,n/2,m); u = (u*u)%m; if (n%2 == 1) u = (u*x)%m; return u; }

Please explain modpow(x, n/2, m) call again and again when below its code execute.

Full text and comments »

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

By sonu007, history, 7 years ago, In English

i had read topcoder tutorial for dynamic programming but i am unable to understand state or much more please anyone help me.

Full text and comments »

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