摘要: 1. 常规思路 遍历一次,和之前的数字字符串比较长度,找到最长的 2. 其他思路 来源:https://www.nowcoder.com/questionTerminal/2c81f88ecd5a4cc395b5308a99afbbec?f=discussion 哎呀哎呀123 的回答 (利用正则表 阅读全文
posted @ 2019-08-25 14:00 Ainsliaea 阅读(2970) 评论(0) 推荐(0) 编辑
摘要: LeetCode 768. Max Chunks To Make Sorted I Given an array arr of integers (not necessarily distinct), we split the array into some number of "chunks" ( 阅读全文
posted @ 2019-08-25 12:37 Ainsliaea 阅读(147) 评论(0) 推荐(0) 编辑