From 4899b34464b2599d5507bebdf669cab86f6aad25 Mon Sep 17 00:00:00 2001 From: Ravishankar Joshi <21024229+ravibitsgoa@users.noreply.github.com> Date: Sat, 24 Oct 2020 08:25:13 +0530 Subject: [PATCH] Update bit_manipulation/hamming_distance.cpp Co-authored-by: David Leal --- bit_manipulation/hamming_distance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}