导航

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页

2016年9月17日

摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are filled wit 阅读全文

posted @ 2016-09-17 16:45 CSU蛋李 阅读(85) 评论(0) 推荐(0) 编辑

2016年9月16日

摘要: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word 阅读全文

posted @ 2016-09-16 23:07 CSU蛋李 阅读(106) 评论(0) 推荐(0) 编辑

摘要: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a 阅读全文

posted @ 2016-09-16 22:58 CSU蛋李 阅读(140) 评论(0) 推荐(0) 编辑

摘要: Given two binary strings, return their sum (also a binary string). For example,a = "11"b = "1"Return "100". 这个题目只要注意各种情况你就成功了一大半,特别要注意的是对进位赋值后可能产生的变化, 阅读全文

posted @ 2016-09-16 22:43 CSU蛋李 阅读(158) 评论(0) 推荐(0) 编辑

摘要: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文

posted @ 2016-09-16 21:41 CSU蛋李 阅读(85) 评论(0) 推荐(0) 编辑

摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, 阅读全文

posted @ 2016-09-16 21:32 CSU蛋李 阅读(76) 评论(0) 推荐(0) 编辑

摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size tha 阅读全文

posted @ 2016-09-16 21:19 CSU蛋李 阅读(109) 评论(0) 推荐(0) 编辑

摘要: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical a 阅读全文

posted @ 2016-09-16 20:14 CSU蛋李 阅读(127) 评论(0) 推荐(0) 编辑

摘要: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet 阅读全文

posted @ 2016-09-16 20:08 CSU蛋李 阅读(259) 评论(0) 推荐(0) 编辑

2016年9月5日

摘要: 这次笔试是今年校招我参加的第一次笔试。。出了很多状况,基础知识不扎实,导致选择题耽误了太多时间,导致后面的题目没做完,编程题也没有在 时间内写出来,基本没有面试机会了。不过我继续研究第二个编程题,在10几分钟后做了出来。 这个题目具体已经不记得了,但是大概意思还是记得,我们把由4和7组成的数,按小大 阅读全文

posted @ 2016-09-05 22:37 CSU蛋李 阅读(1559) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页