diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 49337d795..13202ce4e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -81,8 +81,9 @@ assert(backtracking::subset_sum::number_of_subsets(0, array1) == 3. Small C++ program that showcases and explains the use of tests. ```cpp -#include /// for std::vector -#include /// for assert +#include /// for IO operations +#include /// for std::vector +#include /// for assert /** * @brief Verifies if the given array @@ -100,7 +101,7 @@ bool is_number_on_array(const std::vector &arr, const int &number) { return true; } else { - return false; + // Number not in the current index, keep searching. } }