摘要: 题目如下: A transaction is possibly invalid if: the amount exceeds $1000, or; if it occurs within (and including) 60 minutes of another transaction with t 阅读全文
posted @ 2019-08-31 22:21 seyjs 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Let's define a function f(s) over a non-empty string s, which calculates the frequency of the smallest character in s. For example, if s = "dcce 阅读全文
posted @ 2019-08-31 22:17 seyjs 阅读(639) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given the head of a linked list, we repeatedly delete consecutive sequences of nodes that sum to 0 until there are no such sequences. After doin 阅读全文
posted @ 2019-08-31 22:11 seyjs 阅读(480) 评论(0) 推荐(0) 编辑