摘要: 题目如下: Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and 阅读全文
posted @ 2018-11-25 22:44 seyjs 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers A, a move consists of choosing any A[i], and incrementing it by 1. Return the least number of moves to make every val 阅读全文
posted @ 2018-11-25 20:05 seyjs 阅读(307) 评论(0) 推荐(0) 编辑