Given N in Gray code equivalent. Find its binary equivalent and return decimal form using bitset in O(1) Examples : Input 4: Output 7: Input 15: Output 10: We are using bitset Read more →
Given N in Gray code equivalent. Find its binary equivalent and return decimal form using bitset in O(1) Examples : Input 4: Output 7: Input 15: Output 10: We are using bitset Read more →