How long does a CPU need to replace every 3 characters with one number from 1 to 8 in a file that contains 8 billion 0 's and 1 's ?
How can I find the position of first ' 1 ′ in a sorted array that contains only 0-s and 1-s ?