I am getting WA in 10131 all along. Here's my algo:
1. I sort the elephants by their IQ in decreasing order
2. Then I find the LIS of the weights of the sorted elepahnts and
that is my answer.
Is it correct ?
Search found 1 match
Search found 1 match • Page 1 of 1