mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-11 11:07:27 +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:
@@ -11,14 +11,14 @@
|
|||||||
* @author [Ritika Gupta](https://github.com/RitikaGupta8734)
|
* @author [Ritika Gupta](https://github.com/RitikaGupta8734)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream> /// for IO operations
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#include <string> // use this for MS Visual C++
|
#include <string> /// for string (use this for MS Visual C++)
|
||||||
#else
|
#else
|
||||||
#include <cstring>
|
#include <cstring> /// for string
|
||||||
#endif
|
#endif
|
||||||
#include <vector>
|
#include <vector> /// for std::vector
|
||||||
# include <cassert>
|
#include <cassert> /// for assert
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate the Z-function for the inputted string.
|
* Generate the Z-function for the inputted string.
|
||||||
|
|||||||
Reference in New Issue
Block a user