diff --git a/bit_manipulation/hamming_distance.cpp b/bit_manipulation/hamming_distance.cpp index 47f12d86f..5816aceae 100644 --- a/bit_manipulation/hamming_distance.cpp +++ b/bit_manipulation/hamming_distance.cpp @@ -1,6 +1,6 @@ /** * @file - * @brief Returns the Hamming distance between two integers + * @brief Returns the [Hamming distance](https://en.wikipedia.org/wiki/Hamming_distance) between two integers * * @details * To find hamming distance between two integers, we take their xor, which will @@ -37,4 +37,4 @@ int main() { std::cout << "Hamming distance between " << a << " and " << b << " is " << hamming_distance(a, b) << std::endl; -} \ No newline at end of file +}