上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 40 下一页
摘要: Add Binary (E) 题目 Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 阅读全文
posted @ 2020-07-21 08:29 墨云黑 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Remove Linked List Elements (E) 题目 Remove all elements from a linked list of integers that have value val. Example: Input: 1->2->6->3->4->5->6, val = 阅读全文
posted @ 2020-07-21 08:07 墨云黑 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Course Schedule II (M) 题目 There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to 阅读全文
posted @ 2020-07-19 01:18 墨云黑 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Binary Watch (E) 题目 A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). 阅读全文
posted @ 2020-07-17 02:35 墨云黑 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Find Right Interval (M) 题目 Given a set of intervals, for each of the interval i, check if there exists an interval j whose start point is bigger than 阅读全文
posted @ 2020-07-16 01:40 墨云黑 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Reverse Words in a String (M) 题目 Given an input string, reverse the string word by word. Example 1: Input: "the sky is blue" Output: "blue is sky the" 阅读全文
posted @ 2020-07-16 00:54 墨云黑 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Angle Between Hands of a Clock (M) 题目 Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minut 阅读全文
posted @ 2020-07-15 01:03 墨云黑 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Non-overlapping Intervals (M) 题目 Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the inte 阅读全文
posted @ 2020-07-14 02:21 墨云黑 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Number of Segments in a String (E) 题目 Count the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space ch 阅读全文
posted @ 2020-07-14 01:43 墨云黑 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Unique Paths II (M) 题目 A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either 阅读全文
posted @ 2020-07-14 01:35 墨云黑 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 40 下一页