自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

转载 Lintcode55 Compare Strings solution 题解

【题目描述】Compare two strings A and B, determine whether A contains all of the characters in B.The characters in string A and B are all Upper Case letters.Notice:The characters of B in A are not nec

2017-05-21 22:29:26 262

转载 Lintcode54 String to Integer II solution 题解

【题目描述】Implement function atoi to convert a string to an integer.If no valid conversion could be performed, a zero value is returned.If the correct value is out of the range of representable values

2017-05-21 22:28:31 281

转载 Lintcode53 Reverse Words in a String solution 题解

【题目描述】Given an input string, reverse the string word by word.给定一个字符串,逐个翻转字符串中的每个单词。【题目链接】http://www.lintcode.com/en/problem/reverse-words-in-a-string/【题目解析】这道题让我们翻转字符串中的单词,题目中给了我们写

2017-05-21 22:27:51 296

转载 Lintcode52 Next Permutation solution 题解

【题目描述】Given a list of integers, which denote a permutation.Find the next permutation in ascending order.Notice:The list may contains duplicate integers.给定一个整数数组来表示排列,找出其之后的一个排列。注意:排列中可能包含重

2017-05-21 22:26:57 278

转载 Facebook Software Engineer 电面面经

前不久刚刚面试了Facebook,面试的岗位是软件工程师。很有幸通过了facebook的电面,所以来分享一下电面的经验,也希望和大家交流一下。讲真facebook的效率不愧是出了名的高,我在得到通过了简历筛选的邮件回复后就跟Recruiter商定了第一次电话面试的时间,从网申到第一次电面只用了不到一周的时间。facebook好像不同的team面试程序也不太一样,我面试的时候是经过了

2017-05-21 22:24:46 854

转载 Lintcode51 Previous Permutation solution 题解

【题目描述】Given a list of integers, which denote a permutation.Find the previous permutation in ascending order.Notice:The list may contains duplicate integers.给定一个整数数组来表示排列,找出其上一个排列。注意:排列中可能包

2017-05-15 18:07:15 308

转载 Lintcode50 Product of Array Exclude Itself solution 题解

【题目描述】Given an integers array A.Define B[i] = A[0] * ... * A[i-1] * A[i+1] * ... * A[n-1], calculate B WITHOUT divide operation.给定一个整数数组A。定义B[i] = A[0] * ... * A[i-1] * A[i+1] * ... * A[n-1], 计算

2017-05-13 23:15:06 204

原创 校招季我成功斩获的那些公司之百度篇

一切总算都尘埃落定了,从正式开始准备面试到现在确定公司整整五个月,中间经历的辛酸苦楚如今也终于有了回报。五个月里面真的勤勤恳恳的刷了很多题,也复习+预习了好多专业书,感觉五个月里面学到的东西比自己过去三年都要多。三月下旬开始觉悟,四月正式开始看各种书包括数据结构、数据库、算法、操作系统、计算机网络等等,网上推荐的师兄推荐的乱七八糟买了不下十本书,有些精看有些扫视,好多被遗忘到角落里面的知识

2017-05-13 22:16:48 217

转载 Lintcode49 Sort Letters by Case solution 题解

Lintcode49 Sort Letters by Case solution 题解【题目描述】Given a string which contains only letters. Sort it by lower case first and upper case second.Notice:It's NOT necessary to keep the origina

2017-05-11 16:01:05 252

转载 Lintcode48 Majority Number III solution 题解

Lintcode48 Majority Number III solution 题解【题目描述】Given an array of integers and a number k, the majority number is the number that occurs more than 1/k of the size of the array.Find it.No

2017-05-11 00:56:33 268

转载 Lintcode47 Majority Number II solution 题解

Lintcode47 Majority Number II solution 题解【题目描述】Given an array of integers, the majority number is the number that occurs more than 1/3 of the size of the array.Find it.Notice:There is only o

2017-05-09 23:09:42 320

转载 Lintcode46 Majority Number solution 题解

【题目描述】Given an array of integers, the majority number is the number that occurs more than half of the size of the array. Find it.Notice:You may assume that the array is non-empty and the m

2017-05-09 00:04:25 259

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除