摘要: There is a one-dimensional garden on the x-axis. The garden starts at the point 0 and ends at the point n. (i.e The length of the garden is n). There 阅读全文
posted @ 2020-01-22 09:26 Schwifty 阅读(283) 评论(0) 推荐(0)
摘要: You are given a series of video clips from a sporting event that lasted T seconds. These video clips can be overlapping with each other and have varie 阅读全文
posted @ 2020-01-22 09:24 Schwifty 阅读(371) 评论(0) 推荐(0)
摘要: Given a binary tree root and an integer target, delete all the leaf nodes with value target. Note that once you delete a leaf node with value target,  阅读全文
posted @ 2020-01-22 05:39 Schwifty 阅读(311) 评论(0) 推荐(0)
摘要: Given a string s. Return all the words vertically in the same order in which they appear in s.Words are returned as a list of strings, complete with s 阅读全文
posted @ 2020-01-22 04:21 Schwifty 阅读(611) 评论(0) 推荐(0)
摘要: Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 9, and 阅读全文
posted @ 2020-01-22 03:27 Schwifty 阅读(166) 评论(0) 推荐(0)