Solution & Submission by Interviewbit needs to be updated: Incorrect output by interviewbit during submission


#1

The test cases have an incorrect output by interviewbit for most strings longer than 53 characters.

Expected output is incorrect for test case:
“aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbb”,
“aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbb”,
“aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbb”
Interviewbit output is 27 for all of these.
Actual correct output is is 53 for all three strings.

There are many strings in the submission test cases that are longer than 53 characters and give an incorrect output.

Also the solution for JS is incorrect and failing test cases for single repeat letters i.e. AAA or AAAAA.