![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
heapq
文章平均质量分 94
大师所言极是
菜鸟一枚
展开
-
leetcode 786. K-th Smallest Prime Fraction
leetcode 786. K-th Smallest Prime Fractionleetcode 786. K-th Smallest Prime Fraction题目描述解答思路代码题目描述A sorted list A contains 1, plus some number of primes. Then, for every p < q i...原创 2018-03-17 22:23:10 · 779 阅读 · 0 评论 -
leetcode 787. Cheapest Flights Within K Stops
leetcode 787. Cheapest Flights Within K Stopsleetcode 787. Cheapest Flights Within K Stops题目描述解答思路代码题目描述There are n cities connected by m flights. Each fight starts from city u and ...原创 2018-03-18 16:24:47 · 1504 阅读 · 0 评论 -
leetcode 791. Custom Sort String
leetcode 791. Custom Sort Stringleetcode 791. Custom Sort String题目描述解答思路代码题目描述S and T are strings composed of lowercase letters. In S, no letter occurs more than once.S was sorted...原创 2018-04-05 13:03:59 · 214 阅读 · 0 评论