mirror of
https://github.com/arkorty/LeetCode.git
synced 2026-05-06 00:23:53 +00:00
Refactor almost everything
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <string>
|
||||
|
||||
class Solution {
|
||||
public:
|
||||
public:
|
||||
std::string longestPalindrome(std::string line) {
|
||||
if (line.size() < 2) {
|
||||
return line;
|
||||
|
||||
Reference in New Issue
Block a user