摘要: 链接:https://leetcode-cn.com/problems/cong-wei-dao-tou-da-yin-lian-biao-lcof/ 代码: /** * Definition for singly-linked list. * struct ListNode { * int val 阅读全文
posted @ 2020-02-15 17:33 景云ⁿ 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/ti-huan-kong-ge-lcof/ 代码: class Solution { public: string replaceSpace(string s) { string res; for (auto x: s) { i 阅读全文
posted @ 2020-02-15 17:31 景云ⁿ 阅读(87) 评论(0) 推荐(0) 编辑