mirror of
https://github.com/arkorty/LeetCode.git
synced 2026-03-18 00:57:17 +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