摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping way: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Beyond that, now th 阅读全文
posted @ 2019-03-10 22:27 Veritas_des_Liberty 阅读(299) 评论(0) 推荐(0)
摘要: In LeetCode Store, there are some kinds of items to sell. Each item has a price. However, there are some special offers, and a special offer consists 阅读全文
posted @ 2019-03-10 21:30 Veritas_des_Liberty 阅读(270) 评论(0) 推荐(0)
摘要: Given two integers n and k, find how many different arrays consist of numbers from 1 to n such that there are exactly k inverse pairs. We define an in 阅读全文
posted @ 2019-03-10 20:30 Veritas_des_Liberty 阅读(372) 评论(0) 推荐(0)