For example if the binary string is 10100010 then the program must return 1st,3rd and 7th i.e the positions of the 1's.
Aucun commentaire:
Enregistrer un commentaire