C Programming Find position of the only set bit – Given a number having only one ‘1’ and all other ’0’s in its binary representation.
binary
3 Articles
3
Add 1 to a given number – Bit Algorithm – Add 1 to a given number write a program to add 1 to a given number. You are not allowed to use operators like ‘+’,
Binary Search – search and sorting – Search a sorted array by dividing the search interval in half. Begin with an interval covering the whole array.