From 9ef8100a52db10d0581ea816c98de27e27fbf1eb Mon Sep 17 00:00:00 2001 From: Krishna Vedala Date: Thu, 28 May 2020 16:37:03 -0400 Subject: [PATCH 1/2] added see also reference to fibonacci --- math/fibonacci_fast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/fibonacci_fast.cpp b/math/fibonacci_fast.cpp index dc59742b8..08cced351 100644 --- a/math/fibonacci_fast.cpp +++ b/math/fibonacci_fast.cpp @@ -11,7 +11,7 @@ * found if we have already found n/2th or (n+1)/2th fibonacci It is a property * of fibonacci similar to matrix exponentiation. * - * @see fibonacci_large.cpp, fibonacci.cpp + * @see fibonacci_large.cpp, fibonacci.cpp, string_fibonacci.cpp */ #include From 2683b9d6ede5176b01f22bfe483be6579d6c7533 Mon Sep 17 00:00:00 2001 From: Krishna Vedala Date: Thu, 28 May 2020 16:43:03 -0400 Subject: [PATCH 2/2] fix happy number code and documetnation --- others/happy_number.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/others/happy_number.cpp b/others/happy_number.cpp index dacb2b8c4..b1debaa54 100644 --- a/others/happy_number.cpp +++ b/others/happy_number.cpp @@ -1,7 +1,7 @@ /** - * A [happy number](https://en.wikipedia.org/wiki/Happy_number) is a decimal - * number whose sum of digits is calculated until the sum is a single digit, and - * this sum turns out to be 1. + * @file + * @brief A happy number is a number whose sum of digits is calculated until the + * sum is a single digit, and this sum turns out to be 1 */ #include