We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
one thing i don't understand:
in output requirement, it says "maximum weight of increasing subsequence".
in example explanation, it says "maximum size of increasing subsequence is still 4".
so is ''maximum size of increasing subsequence" a must for the answer, or any size of increasing subsequence acceptable?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Subsequence Weighting
You are viewing a single comment's thread. Return to all comments →
one thing i don't understand: in output requirement, it says "maximum weight of increasing subsequence". in example explanation, it says "maximum size of increasing subsequence is still 4". so is ''maximum size of increasing subsequence" a must for the answer, or any size of increasing subsequence acceptable?