15 lines
247 B
C++
15 lines
247 B
C++
|
#ifndef S0459_REPEATED_SUBSTRING_PATTERN_HPP
|
||
|
#define S0459_REPEATED_SUBSTRING_PATTERN_HPP
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class S0459 {
|
||
|
public:
|
||
|
bool repeatedSubstringPattern(string s);
|
||
|
void getNext(string &s, int *next);
|
||
|
};
|
||
|
|
||
|
#endif
|