上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 50 下一页
摘要: Given a non-negative number represented as a singly linked list of digits, plus one to the number. The digits are stored such that the most significan 阅读全文
posted @ 2018-09-15 07:14 轻风舞动 阅读(507) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced bina 阅读全文
posted @ 2018-09-15 06:54 轻风舞动 阅读(719) 评论(0) 推荐(0) 编辑
摘要: Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is d 阅读全文
posted @ 2018-09-15 06:46 轻风舞动 阅读(509) 评论(0) 推荐(0) 编辑
摘要: Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed there is at leas 阅读全文
posted @ 2018-09-15 06:23 轻风舞动 阅读(791) 评论(0) 推荐(0) 编辑
摘要: Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assume the following rules: A move is guaranteed to be valid and 阅读全文
posted @ 2018-09-15 04:35 轻风舞动 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed). Once you pay the cost, you can either climb one or two steps. Y 阅读全文
posted @ 2018-09-14 15:23 轻风舞动 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2018-09-13 15:30 轻风舞动 阅读(480) 评论(0) 推荐(0) 编辑
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2018-09-13 15:24 轻风舞动 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Given a sorted integer array nums, where the range of elements are in the inclusive range [lower, upper], return its missing ranges. Example: Java: Ja 阅读全文
posted @ 2018-09-13 14:49 轻风舞动 阅读(1241) 评论(0) 推荐(0) 编辑
摘要: Given a sorted integer array without duplicates, return the summary of its ranges. Example 1: Example 2: Java: Python: Python: Python: C++: C++: 类似题目: 阅读全文
posted @ 2018-09-13 14:38 轻风舞动 阅读(811) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 50 下一页