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

Files

 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.
 
 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.
 
 count_of_trailing_ciphers_in_factorial_n.cpp
 Count the number of ciphers in n! implementation
 
 find_non_repeating_number.cpp
 Implementation to find the non repeating integer in an array of repeating integers. Single Number
 
 hamming_distance.cpp
 Returns the Hamming distance between two integers.
 
 next_higher_number_with_same_number_of_set_bits.cpp
 [Next higher number with same number of set bits] (https://www.geeksforgeeks.org/next-higher-number-with-same-number-of-set-bits/) implementation
 
 power_of_2.cpp
 [Find whether a given number is power of 2] (https://www.geeksforgeeks.org/program-to-find-whether-a-given-number-is-power-of-2/) implementation
 
 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.
 
 travelling_salesman_using_bit_manipulation.cpp
 Implementation to [Travelling Salesman problem using bit-masking] (https://www.geeksforgeeks.org/travelling-salesman-problem-set-1/)