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.
Yeah it works and passes all testcases, but the right cota is wrong... there could be contact+'zzzzzzzaaa' in the list and you would not count it. I think the correct way to calculate the rightmost element should be
Tries: Contacts
You are viewing a single comment's thread. Return to all comments →
Yeah it works and passes all testcases, but the right cota is wrong... there could be
contact+'zzzzzzzaaa'
in the list and you would not count it. I think the correct way to calculate the rightmost element should beand having stablished the right cota, you would still need to check if all elements between
left
andright
do start with contact:please someone correct me if I am wrong