From 9addf17de4dfdd8288dd1e7c66cee86e588c162f Mon Sep 17 00:00:00 2001 From: RitikaGupta8734 <43800283+RitikaGupta8734@users.noreply.github.com> Date: Wed, 1 Sep 2021 09:48:51 +0530 Subject: [PATCH] Apply suggestions from code review More comments added to the code Co-authored-by: David Leal --- strings/z_function.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/strings/z_function.cpp b/strings/z_function.cpp index e3858a9f4..b2ec48a7a 100644 --- a/strings/z_function.cpp +++ b/strings/z_function.cpp @@ -11,14 +11,14 @@ * @author [Ritika Gupta](https://github.com/RitikaGupta8734) */ -#include +#include /// for IO operations #ifdef _MSC_VER -#include // use this for MS Visual C++ +#include /// for string (use this for MS Visual C++) #else -#include +#include /// for string #endif -#include -# include +#include /// for std::vector +#include /// for assert /** * Generate the Z-function for the inputted string.