mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Apply suggestions from code review
More comments added to the code Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
ad4dad5ae3
commit
9addf17de4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user