2022-3-19 Leetcode 71. 简化路径

第一版
class Solution {
public:
string simplifyPath(string path) {
vector mysk;
string ret;
int i = 0;
int len = path.size();
while(i < len){ int count = 0; int alpha = 0; string word; while(i < len && path[i] == '.'){ count++; i++; } if(count == 2){

2022-3-19 Leetcode 71. 简化路径最先出现在Python成神之路

版权声明:
作者:cc
链接:https://www.techfm.club/p/26163.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>