saifhaider0z's blog

By saifhaider0z, history, 6 years ago, In English

I wanna ask is there any why by which we can check that a given array can be split int two subsequence such that both are Strictly increasing. If not Possible Output is "NO" else "YES".

Better approach than O(2^n).

Full text and comments »

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

By saifhaider0z, history, 6 years ago, In English

Someone please tell me the approach to solve this problem Problem

Full text and comments »

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