2020年11月3日

摘要: Given the array orders, which represents the orders that customers have done in a restaurant. More specifically orders[i][customerNamei,tableNumberi,f 阅读全文

posted @ 2020-11-03 19:38 actor_spider 阅读(190) 评论(0) 推荐(0)


2020年11月2日

摘要: Given a binary tree with the following rules: root.val == 0 If treeNode.val == x and treeNode.left != null, then treeNode.left.val == 2 * x + 1 If tre 阅读全文

posted @ 2020-11-02 20:58 actor_spider 阅读(113) 评论(0) 推荐(0)

摘要: 题目: In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element repeated N times 阅读全文

posted @ 2020-11-02 19:56 actor_spider 阅读(67) 评论(0) 推荐(0)


2020年11月1日

摘要: Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro 阅读全文

posted @ 2020-11-01 21:29 actor_spider 阅读(56) 评论(0) 推荐(0)

摘要: Given the array nums consisting of n positive integers. You computed the sum of all non-empty continous subarrays from the array and then sort them in 阅读全文

posted @ 2020-11-01 21:14 actor_spider 阅读(99) 评论(0) 推荐(0)

摘要: Given an integer k, return the minimum number of Fibonacci numbers whose sum is equal to k. The same Fibonacci number can be used multiple times. The 阅读全文

posted @ 2020-11-01 20:44 actor_spider 阅读(98) 评论(0) 推荐(0)

摘要: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo 阅读全文

posted @ 2020-11-01 20:28 actor_spider 阅读(54) 评论(0) 推荐(0)

摘要: There is a room with n bulbs, numbered from 1 to n, arranged in a row from left to right. Initially, all the bulbs are turned off.At moment k (for k f 阅读全文

posted @ 2020-11-01 19:59 actor_spider 阅读(83) 评论(0) 推荐(0)

摘要: 题目: Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of the 阅读全文

posted @ 2020-11-01 19:28 actor_spider 阅读(57) 评论(0) 推荐(0)


2020年10月29日

摘要: 天池-幸福感预测问题 阅读全文

posted @ 2020-10-29 21:28 actor_spider 阅读(343) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3