TheAlgorithms-C-Plus-Plus/bit_manipulation
kunal nayak d1ec37c67b
feat: add Next Higher Number with same set bits (#2484)
* Next higher number with same set bits implimented

* Added to DIRECTORY.md

* Update bit_manipulation/next_higher_number_with_same_number_of_set_bits.cpp

new line aded

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update bit_manipulation/next_higher_number_with_same_number_of_set_bits.cpp

* added

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update bit_manipulation/next_higher_number_with_same_number_of_set_bits.cpp

recomendation added

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update next_higher_number_with_same_number_of_set_bits.cpp

int to int64_t

* Update bit_manipulation/next_higher_number_with_same_number_of_set_bits.cpp

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>

---------

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
2023-06-23 13:45:11 -06:00
..
CMakeLists.txt feat: add the bit_manipulation directory to CMake (#1991) 2022-09-10 19:43:55 -05:00
count_bits_flip.cpp feat: add count_bits_flip.cpp (#1862) 2022-01-11 12:51:39 -06:00
count_of_set_bits.cpp feat: Reworked/updated sorting/selection_sort.cpp. (#1613) 2021-10-25 13:17:33 -05:00
count_of_trailing_ciphers_in_factorial_n.cpp feat: Add count_of_trailing_ciphers_in_factorial_n (#1543) 2021-07-29 11:41:52 -05:00
find_non_repeating_number.cpp feat: add Find non repeating number implementation (#2061) 2022-11-27 23:11:43 -06:00
hamming_distance.cpp feat: Hamming distance algorithm. (#1376) 2021-02-17 08:08:29 +05:30
next_higher_number_with_same_number_of_set_bits.cpp feat: add Next Higher Number with same set bits (#2484) 2023-06-23 13:45:11 -06:00
power_of_2.cpp [fix/feat]: remove memory leak in avltree.cpp (#2429) 2023-02-03 18:40:26 -06:00
set_kth_bit.cpp added set_kth_bit.cpp (#1863) 2022-01-16 21:27:24 +05:30
travelling_salesman_using_bit_manipulation.cpp feat: add Strassen's Matrix Multiplication (#2413) 2023-01-24 14:03:06 -06:00