摘要:
转自:http://www.zhihu.com/question/24295398知乎 Yu Zhang 知乎搜索首页话题发现消息调查类问题名校就读体验修改在卡内基梅隆大学 (Carnegie Mellon University) 就读是怎样一番体验?修改写补充说明 举报 10 条评论 ... 阅读全文
摘要:
Sudoku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that th... 阅读全文
摘要:
Valid SudokuDetermine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are... 阅读全文
摘要:
AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.思路:建Hashtable,用排序过的string作为ke... 阅读全文
摘要:
Valid NumberValidate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intend... 阅读全文
摘要:
https://oj.leetcode.com/problems/trapping-rain-water/Trapping Rain WaterGiven n non-negative integers representing an elevation map where the width of... 阅读全文
摘要:
Container With Most WaterGiven n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are draw... 阅读全文
摘要:
Add BinaryGiven two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".SOLUTION:指针指到两个字符串的末尾,不断往前推进,用carr... 阅读全文
摘要:
Merge IntervalsGiven a collection of intervals, merge all overlapping intervals.For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,1... 阅读全文
摘要:
今天中午刚收到f家的intern offer, 超级开心。在这个版块看了很多也收获很多。onsite前天晚上面就就对自己过了一定发个帖跟需要的人分享下自己的经历。论坛上帖子看了很多,很多拿了FLAG之类公司的人都说自己不是大牛啦,没准备多久啦。 LZ 觉得都太假了。 所以希望LZ的帖子能真正的对之后... 阅读全文