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.
The output to input:
100
0100101010100010110100100110110100011100111110101001011001110111110000101011011111011001111100011101
should be 11 not 10.
by changing index (zero indexed): 1, 5, 7, 9, 14, 19, 22, 31, 47, 51 and 70.
How can it be done in 10 changes ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Binary String
You are viewing a single comment's thread. Return to all comments →
The output to input: 100 0100101010100010110100100110110100011100111110101001011001110111110000101011011111011001111100011101 should be 11 not 10. by changing index (zero indexed): 1, 5, 7, 9, 14, 19, 22, 31, 47, 51 and 70. How can it be done in 10 changes ?