上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页
摘要: Department Highest SalaryTheEmployeetable holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id.+-... 阅读全文
posted @ 2015-06-22 22:30 `Liok 阅读(407) 评论(0) 推荐(0) 编辑
摘要: Basic Calculator IIImplement a basic calculator to evaluate a simple expression string.The expression string contains onlynon-negativeintegers, +, -, ... 阅读全文
posted @ 2015-06-22 15:37 `Liok 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes co... 阅读全文
posted @ 2015-06-21 16:30 `Liok 阅读(1455) 评论(0) 推荐(0) 编辑
摘要: Median of Two Sorted ArraysThere are two sorted arraysnums1andnums2of size m and n respectively. Find the median of the two sorted arrays. The overall... 阅读全文
posted @ 2015-06-21 16:13 `Liok 阅读(689) 评论(0) 推荐(0) 编辑
摘要: Copy List with Random PointerA linked list is given such that each node contains an additional random pointer which could point to any node in the lis... 阅读全文
posted @ 2015-06-20 16:55 `Liok 阅读(557) 评论(0) 推荐(0) 编辑
摘要: Best Time to Buy and Sell Stock IISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the ... 阅读全文
posted @ 2015-06-20 00:10 `Liok 阅读(446) 评论(0) 推荐(0) 编辑
摘要: Best Time to Buy and Sell StockSay you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to compl... 阅读全文
posted @ 2015-06-19 00:22 `Liok 阅读(503) 评论(0) 推荐(0) 编辑
摘要: Populating Next Right Pointers in Each NodeGiven a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLi... 阅读全文
posted @ 2015-06-16 23:34 `Liok 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Text JustificationGiven an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) just... 阅读全文
posted @ 2015-06-16 00:29 `Liok 阅读(421) 评论(0) 推荐(0) 编辑
摘要: LRU CacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get... 阅读全文
posted @ 2015-06-14 21:36 `Liok 阅读(1031) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页