Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
Loading...
Searching...
No Matches
bit_manipulation Directory Reference

Files

file  count_bits_flip.cpp
 Implementation to [Count number of bits to be flipped to convert A to B] (https://www.geeksforgeeks.org/count-number-of-bits-to-be-flipped-to-convert-a-to-b/) in an integer.
 
file  count_of_set_bits.cpp
 Implementation to [count number of set bits of a number] (https://www.geeksforgeeks.org/count-set-bits-in-an-integer/) in an integer.
 
file  count_of_trailing_ciphers_in_factorial_n.cpp
 Count the number of ciphers in n! implementation
 
file  hamming_distance.cpp
 Returns the Hamming distance between two integers.
 
file  set_kth_bit.cpp
 Implementation to [From the right, set the Kth bit in the binary representation of N] (https://practice.geeksforgeeks.org/problems/set-kth-bit3724/1/) in an integer.