摘要:
题目如下: Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year. Example 1: Example 2: Exa 阅读全文
posted @ 2019-08-19 13:44
seyjs
阅读(388)
评论(0)
推荐(0)
摘要:
题目如下: You are given an array of strings words and a string chars. A string is good if it can be formed by characters from chars (each character can on 阅读全文
posted @ 2019-08-19 13:41
seyjs
阅读(609)
评论(0)
推荐(0)
摘要:
题目如下: Given the root of a binary tree, the level of its root is 1, the level of its children is 2, and so on. Return the smallest level X such that th 阅读全文
posted @ 2019-08-19 13:39
seyjs
阅读(401)
评论(0)
推荐(0)
摘要:
题目如下: Given an N x N grid containing only values 0 and 1, where 0 represents water and 1 represents land, find a water cell such that its distance to 阅读全文
posted @ 2019-08-19 13:36
seyjs
阅读(701)
评论(3)
推荐(0)
摘要:
题目如下: Given a string s, return the last substring of s in lexicographical order. Example 1: Example 2: Note: 解题思路:我的方法是找出s中的最大字符max_char,然后以max_char为分 阅读全文
posted @ 2019-08-19 13:34
seyjs
阅读(758)
评论(0)
推荐(0)
浙公网安备 33010602011771号