GG_EZ_DOGS's blog

By GG_EZ_DOGS, history, 3 years ago, In English

Hello guys,

Is there an algorithm or a data structure called Round-square tree?

Full text and comments »

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

By GG_EZ_DOGS, history, 3 years ago, In English

Can anyone help me to solve this, please?

Find the number of different permutations of length n such that the number of indices i (1 <= i <= n-1) where p[i] > p[i+1] is equal to K.

UPD: 1 <= n <= 3000, 0 <= k < n.

Full text and comments »

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