Apply suggestions from code review

More comments added to the code

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
RitikaGupta8734 2021-09-01 09:48:51 +05:30 committed by GitHub
parent ad4dad5ae3
commit 9addf17de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,14 @@
* @author [Ritika Gupta](https://github.com/RitikaGupta8734)
*/
#include <iostream>
#include <iostream> /// for IO operations
#ifdef _MSC_VER
#include <string> // use this for MS Visual C++
#include <string> /// for string (use this for MS Visual C++)
#else
#include <cstring>
#include <cstring> /// for string
#endif
#include <vector>
# include <cassert>
#include <vector> /// for std::vector
#include <cassert> /// for assert
/**
* Generate the Z-function for the inputted string.