Skip to content

Commit

Permalink
🔥 removes boilerplate from manacher algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
iagorrr committed Jan 5, 2024
1 parent f305352 commit 414a0ce
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,3 @@ string longest_palindrome(const string &s) {
}
return ans;
}
void run() {
string s;
cin >> s;
auto ans = longest_palindrome(s);
cout << ans << endl;
}

0 comments on commit 414a0ce

Please sign in to comment.