Please Login in order to post a comment
why [3,3] not included in sample case 1 neither [3,4,3]?
How to hash a set of elements where order of the elements doesn't matter?
One way is to sort the elements and then do polynomial hashing. Is there any easier way?
is a segment defined as a subarray or subsequence ?
Is the first sample wrong? It lists 5 segments but the answer is 4. I believe {3, 4, 3} is not correct?
No more comments
Seems like cookies are disabled on this browser, please enable them to open this website
why [3,3] not included in sample case 1 neither [3,4,3]?
How to hash a set of elements where order of the elements doesn't matter?
One way is to sort the elements and then do polynomial hashing. Is there any easier way?
is a segment defined as a subarray or subsequence ?
Is the first sample wrong? It lists 5 segments but the answer is 4. I believe {3, 4, 3} is not correct?