上一页 1 2 3 4 5 6 7 ··· 51 下一页
2015年4月17日
摘要: Best Time to Buy and Sell Stock IV2015.4.17 05:27Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorit... 阅读全文
posted @ 2015-04-17 05:36 zhuli19901106 阅读(329) 评论(0) 推荐(0) 编辑
2015年3月23日
摘要: 鄙人从去年8月份开始,决定投身考研大军。到如今3月底了终于在拟录取名单上找到了自己,这些日子的折腾总算是没白费,在此把自己的考研经历写下来,算是留个纪念吧。 我知道博客园有很多技术大牛,但相信也有很多比我小的同学可能正在思考自己的未来。如果你未来可能会走上考研的道路,希望这篇文章能给你一点帮助吧。 阅读全文
posted @ 2015-03-23 16:48 zhuli19901106 阅读(47980) 评论(137) 推荐(100) 编辑
2015年2月10日
摘要: Repeated DNA Sequences2015.2.10 05:44All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When stu... 阅读全文
posted @ 2015-02-10 05:53 zhuli19901106 阅读(1181) 评论(0) 推荐(0) 编辑
2015年1月23日
摘要: Largest Number2015.1.23 20:24Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, ... 阅读全文
posted @ 2015-01-23 20:29 zhuli19901106 阅读(310) 评论(0) 推荐(0) 编辑
摘要: Dungeon Game2015.1.23 19:38The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists o... 阅读全文
posted @ 2015-01-23 20:22 zhuli19901106 阅读(400) 评论(0) 推荐(0) 编辑
摘要: Binary Search Tree Iterator2015.1.23 18:58Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node ... 阅读全文
posted @ 2015-01-23 19:37 zhuli19901106 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Factorial Trailing Zeroes2015.1.23 18:46Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time ... 阅读全文
posted @ 2015-01-23 18:49 zhuli19901106 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Excel Sheet Column Number2015.1.23 17:54Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corres... 阅读全文
posted @ 2015-01-23 17:59 zhuli19901106 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Majority Element2015.1.23 17:46Given an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋ti... 阅读全文
posted @ 2015-01-23 17:50 zhuli19901106 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Excel Sheet Column Title2015.1.23 17:20Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -... 阅读全文
posted @ 2015-01-23 17:31 zhuli19901106 阅读(267) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 51 下一页