上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 54 下一页
摘要: You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Month:Day:Hour: 阅读全文
posted @ 2019-07-25 14:42 北叶青藤 阅读(328) 评论(0) 推荐(0)
摘要: Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping. Note: You 阅读全文
posted @ 2019-07-23 12:45 北叶青藤 阅读(317) 评论(0) 推荐(0)
摘要: There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the hor 阅读全文
posted @ 2019-07-23 12:44 北叶青藤 阅读(311) 评论(0) 推荐(0)
摘要: Example : Infix : (A+B) * (C-D) ) Postfix: AB+CD-* 算法: 1. Scan the infix expression from left to right. 2. If the scanned character is an operand, app 阅读全文
posted @ 2019-07-22 13:40 北叶青藤 阅读(356) 评论(0) 推荐(0)
摘要: Given a list of strings, output the most frequent characters that are in the same group as the letter. For example, for string "abc", a, b,c are in th 阅读全文
posted @ 2019-07-22 13:02 北叶青藤 阅读(356) 评论(0) 推荐(0)
摘要: Your are given an array of positive integers nums. Count and print the number of (contiguous) subarrays where the product of all the elements in the s 阅读全文
posted @ 2019-07-20 16:08 北叶青藤 阅读(275) 评论(0) 推荐(0)
摘要: You are given a string expression representing a Lisp-like expression to return the integer value of. The syntax for these expressions is given as fol 阅读全文
posted @ 2019-07-20 13:08 北叶青藤 阅读(357) 评论(0) 推荐(0)
摘要: Implement FreqStack, a class which simulates the operation of a stack-like data structure. FreqStack has two functions: push(int x), which pushes an i 阅读全文
posted @ 2019-07-19 15:12 北叶青藤 阅读(256) 评论(0) 推荐(0)
摘要: In a country popular for train travel, you have planned some train travelling one year in advance. The days of the year that you will travel is given 阅读全文
posted @ 2019-07-19 14:32 北叶青藤 阅读(283) 评论(0) 推荐(0)
摘要: Given an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-decreasing order. Examp 阅读全文
posted @ 2019-07-19 13:43 北叶青藤 阅读(244) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 54 下一页