2025年1月4日
摘要: https://kamacoder.com/problempage.php?pid=1064 双指针法,从后向前遍历: 借用一个list,从后向前遍历,碰到数字就换“number”存到对应索引上: def numTostr(s: str): s_list = list(s) i = 0 for ch 阅读全文
posted @ 2025-01-04 16:45 axuu 阅读(57) 评论(0) 推荐(0)