Hamada14's blog

By Hamada14, history, 8 years ago, In English

I have been trying to solve a problem where i needed to find the sum of the minimum of all the subarrays of an array. If someone know of an O(N) algorithm to such problem. Thanks.

Full text and comments »

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

By Hamada14, history, 8 years ago, In English

I was interested in practising more on problems Div2 C and Div2 D, But such problems where they don't depend on any specific algorithms: dp, binary search, graph, tree,....etc rather on problem solving skills where the difficulty is in the apprehending the solution itself. also problems which depend on creating certain permutations or matrices that specifies certain conditions.

any resources related will be welcomed too. If you can recommend any please, Thanks a lot :D

Full text and comments »

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