摘要: Given several boxes with different colors represented by different positive numbers. You may experience several rounds to remove boxes until there is 阅读全文
posted @ 2019-03-07 22:08 Veritas_des_Liberty 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that 阅读全文
posted @ 2019-03-07 20:56 Veritas_des_Liberty 阅读(216) 评论(0) 推荐(0) 编辑
摘要: You have n super washing machines on a line. Initially, each washing machine has some dresses or is empty. For each move, you could choose any m (1 ≤ 阅读全文
posted @ 2019-03-07 18:28 Veritas_des_Liberty 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1:Input: "bbbab 阅读全文
posted @ 2019-03-07 11:56 Veritas_des_Liberty 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Given an array of scores that are non-negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t 阅读全文
posted @ 2019-03-07 11:03 Veritas_des_Liberty 阅读(196) 评论(0) 推荐(0) 编辑