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.
In Test Case 8 line: 2986 there is a command
FLIP 2 1000
But I see that case starts with 1000 10000 which tells bit array length should be 1000. So by using zero based indexing how can you expect to pass this test case which was prepared by wrong data??
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java BitSet
You are viewing a single comment's thread. Return to all comments →
In Test Case 8 line: 2986 there is a command FLIP 2 1000
But I see that case starts with 1000 10000 which tells bit array length should be 1000. So by using zero based indexing how can you expect to pass this test case which was prepared by wrong data??