摘要:
Given a number s in their binary representation. Return the number of steps to reduce it to 1 under the following rules: If the current number is even 阅读全文
posted @ 2020-06-11 11:00
Schwifty
阅读(293)
评论(0)
推荐(0)
摘要:
A string is called happy if it does not have any of the strings 'aaa', 'bbb' or 'ccc' as a substring. Given three integers a, b and c, return any stri 阅读全文
posted @ 2020-06-11 10:45
Schwifty
阅读(408)
评论(0)
推荐(0)
摘要:
Given the array nums, obtain a subsequence of the array whose sum of elements is strictly greater than the sum of the non included elements in such su 阅读全文
posted @ 2020-06-11 07:17
Schwifty
阅读(195)
评论(0)
推荐(0)
摘要:
Given a binary tree where node values are digits from 1 to 9. A path in the binary tree is said to be pseudo-palindromic if at least one permutation o 阅读全文
posted @ 2020-06-11 06:46
Schwifty
阅读(202)
评论(0)
推荐(0)
摘要:
Given a m x n grid. Each cell of the grid has a sign pointing to the next cell you should visit if you are currently in this cell. The sign of grid[i] 阅读全文
posted @ 2020-06-11 05:22
Schwifty
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号