摘要:
``` class Solution { public: std::string longestPalindrome(const std::string& s) { if (s.empty()) { return ""; } std::vector dp(s.size(),std::vector(s 阅读全文
摘要:
``` class Solution { public: int lengthOfLongestSubstring(const std::string& s) { int max_length = 0; // 最大子字符串长度 int begin_index = 0;//最大子字符串的起始索引 in 阅读全文
摘要:
```
git config --global user.name [name]
git config --global user.email [email_address]
``` 阅读全文
摘要:
```
git push origin --delete [branch_name]
``` 阅读全文
摘要:
```
git reset HEAD~
``` 阅读全文
摘要:
```
git reset --hard [commit_id]
``` 阅读全文
摘要:
```
git reset --hard [commit_id]
git push origin HEAD --force
``` 阅读全文
摘要:
```
git reset HEAD
``` 阅读全文
摘要:
阅读全文