- 博客(5)
- 收藏
- 关注
原创 Kickstart Round F 2017 Problem B. Dance Battle
ProblemYour team is about to prove itself in a dance battle! Initially, your team has E points of energy, and zero points of honor. There are N rival teams who you must face; the i-th of these teams...
2018-10-10 21:25:37 204
原创 Hand of Straights
Alice has a hand of cards, given as an array of integers.Now she wants to rearrange the cards into groups so that each group is size W, and consists of W consecutive cards.Return true if and only ...
2018-10-07 22:14:15 150
原创 Making A Large Island
In a 2D grid of 0s and 1s, we change at most one 0 to a 1.After, what is the size of the largest island? (An island is a 4-directionally connected group of 1s).Example 1:Input: [[1, 0], [0, 1]]...
2018-10-06 22:24:08 85
原创 Score After Flipping Matrix
We have a two dimensional matrix A where each value is 0 or 1.A move consists of choosing any row or column, and toggling each value in that row or column: changing all 0s to 1s, and all 1s to 0s....
2018-10-05 20:50:31 202 1
原创 All Possible Full Binary Trees
A full binary tree is a binary tree where each node has exactly 0 or 2 children.Return a list of all possible full binary trees with N nodes. Each element of the answer is the root node of one poss...
2018-10-01 15:32:58 167
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人