摘要: 1. 原题链接:https://leetcode.com/problems/increasing decreasing string/ 2. 解题思路 1. 直观的想法是:用有序map\记录字母和字母出现的次数 2. 按照题目描述的方式,先顺序遍历map,再反序遍历map,直到map中的所有字母出现 阅读全文
posted @ 2020-03-08 20:00 wengle 阅读(409) 评论(0) 推荐(0) 编辑