Input: 100 101 110 111 Output: 3
A binary string will be given to us and we need to print its 1s and 2s complement of that? C code would be helpful?
How to find first unrepeated character in string using C/C++?
Input Output abc a aabcd b aabddbc c