Compress the string hackerrank solution

Kalyan fix close

Lenovo a2020a40 after flash test mode