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.
I suspect there is some issue with the testcases. One of the test case which I downloaded to verify.
SOSOSOSOSDSDSKWOSDOSDOASDOASDFAFJDFDOSOSOWNSOSOSNDSKDDOSOSOSJDSDSOOSOSDSDOSASSOASDSAOSOSODSDSOASDWS
Answer say: 67
Here, length of string is 99 characters, how could possibly the answer be 67. There can be maximum 99/3=33 SOS signal in this string.
Let me know if I am wrong somewhere here.
Thanks.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Mars Exploration
You are viewing a single comment's thread. Return to all comments →
I suspect there is some issue with the testcases. One of the test case which I downloaded to verify. SOSOSOSOSDSDSKWOSDOSDOASDOASDFAFJDFDOSOSOWNSOSOSNDSKDDOSOSOSJDSDSOOSOSDSDOSASSOASDSAOSOSODSDSOASDWS Answer say: 67
Here, length of string is 99 characters, how could possibly the answer be 67. There can be maximum 99/3=33 SOS signal in this string.
Let me know if I am wrong somewhere here. Thanks.