2020年11月18日

摘要: `class Finder { public: int getIndex(vector<int>&a,int low,int high){ int temp=a[low]; while(low<high) { while(low<high && a[high]<=temp) high--; a[lo 阅读全文
posted @ 2020-11-18 23:51 timeliar 阅读(53) 评论(0) 推荐(0)
摘要: `class Solution { public: /** * * @param s string字符串 * @return bool布尔型 */ bool isValid(string s) { stacktemp; if(s.length()%21)return false; for(auto 阅读全文
posted @ 2020-11-18 23:35 timeliar 阅读(28) 评论(0) 推荐(0)
摘要: `class Solution { public: /** * longest common substring * @param str1 string字符串 the string * @param str2 string字符串 the string * @return string字符串 */ 阅读全文
posted @ 2020-11-18 23:31 timeliar 阅读(47) 评论(0) 推荐(0)