上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 29 下一页
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. 阅读全文
posted @ 2019-06-27 17:49 yjxyy 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Given *n* non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. 阅读全文
posted @ 2019-06-27 17:45 yjxyy 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). 阅读全文
posted @ 2019-06-27 17:09 yjxyy 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Given two words *word1* and *word2*, find the minimum number of operations required to convert *word1* to *word2*. 阅读全文
posted @ 2019-06-27 16:49 yjxyy 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Given *n* non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2019-06-27 16:44 yjxyy 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Given a list of daily temperatures `T`, return a list such that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is no future day for which this is possible, put `0` instead. 阅读全文
posted @ 2019-06-27 16:31 yjxyy 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Given a string, your task is to count how many palindromic substrings in this string. 阅读全文
posted @ 2019-06-27 16:28 yjxyy 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks. Tasks could be done without original order. Each task could be done in one interval. For each interval, CPU could finish one task or just be idle. 阅读全文
posted @ 2019-06-27 16:21 yjxyy 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers and an integer **k**, you need to find the total number of continuous subarrays whose sum equals to **k**. 阅读全文
posted @ 2019-06-27 16:09 yjxyy 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of integers, find the length of longest increasing subsequence. 阅读全文
posted @ 2019-06-26 16:18 yjxyy 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 29 下一页