自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 阿里云四轮技术面回顾(四面跪归)

刚收到通知,阿里云四面跪了,无缘最后HR面,虽然意料之中,但难免有点伤心。简单整理了自己的面试经历,为今后面试提供参考,也给需要的人一些帮助,多少让这次面试多点意义。 总共经历了四轮面试,都是技术面,四面时问过面试官,第五轮是HR面。四轮面试是一天内完成的,所以当四面结束HR让回去等消息时,差不多明白自己没戏了。 面试是在酒店进行的。面试官很专业,会诚意的去了解你的各项技术水平及其他各

2017-07-10 16:29:28 1928

转载 Lintcode80Mediansolution题解

【题目描述】 Given a unsorted array with integers, find the median of it. A median is the middle number of the array after it is sorted. If there are even numbers in the array, return theN/2-th

2017-06-23 09:03:50 485

转载 Lintcode79 Longest Common Substring solution 题解

【题目描述】 Given two strings, find the longest common substring.Return the length of it. 给出两个字符串,找到最长公共子串,并返回其长度。 【注意】:子串的字符应该连续的出现在原字符串中,这与子序列有所不同。 【题目链接】 www.lintcode.com/en/problem/longest-commo

2017-06-23 09:03:03 375

转载 Lintcode78 Longest Common On Prefix solution 题解

【题目描述】 Given k strings, find the longest common prefix (LCP). 给k个字符串,求出他们的最长公共前缀(LCP) 【题目链接】 www.lintcode.com/en/problem/longest-common-prefix/ 【题目解析】 解题思路是:先对整个String数组预处理一下,求一个最小长度(最长前缀肯定不

2017-06-22 20:57:09 357

转载 Lintcode77 Longest Common Subsequence solution 题解

【题目描述】 Given two strings, find the longest common subsequence (LCS). Your code should return the length ofLCS. 给出两个字符串,找到最长公共子序列(LCS),返回LCS的长度。 【题目链接】 www.lintcode.com/en/problem/long

2017-06-20 23:07:31 342

转载 Lintcode76 Longest Increasing Subsequence solution 题解

题目描述】 Given a sequence of integers, find the longest increasing subsequence (LIS). You code should return the length of the LIS. 给定一个整数序列,找到最长上升子序列(LIS),返回LIS的长度。 【说明】:最长上升子序列的定义: 最长上

2017-06-20 23:06:52 295

转载 Lintcode75 Find Peak Element solution 题解

【题目描述】 There is an integer array which has the following features: ·The numbers in adjacent positions are different. ·A[0] A[A.length - 1]. We define a position P is a peek if: A[P]>

2017-06-17 13:28:52 309

转载 Lintcode 74 First Bad Version solution 题解

【题目描述】 The code base version is an integer start from 1 to n. One day, someone committed a bad version in the code case, so it caused this version and the following versions are all failed in the

2017-06-17 13:27:46 312

转载 Lintcode73 Construct Binary Tree from Preorder and Inorder Traversal solution 题解

题目描述】 Given preorder and inorder traversal of a tree, construct the binary tree. Notice:You may assume that duplicates do not exist in the tree. 根据前序遍历和中序遍历树构造二叉树. 注意:你可以假设树中不存在相同数值的节点 【题目链接】

2017-06-14 09:39:03 371

原创 如何进入 Google 工作

如果你梦想进入Google,那么以下建议或许可以帮到你: 1.定个具体目标 你需要缩小你的目标范围,把目标落实到具体的工作岗位,也就是说,你需要通过对Google的深入了解,知道自己想从事具体哪个方面的工作。 比如,你需要在一开始就给自己定个小目标——“我想从事Google Android网络方面工作”,而不是很笼统的“我想进入Google”。 2.确定所需技能 如果你想从事分布

2017-06-14 09:36:00 1261

转载 Lintcode72 Construct Binary Tree from Inorder and Postorder Traversal solution 题解

题目描述】 Given inorder and postorder traversal of a tree, construct the binary tree. Notice:You may assume that duplicates do not exist in the tree. 根据中序遍历和后序遍历树构造二叉树 注意:你可以假设树中不存在相同数值的节点

2017-06-13 10:15:52 472

原创 微软SDE面经(电面+onsite)

本人工作1年多了,正在准备跳槽中。刚刚参加完微软西雅图的面试,来分享一下自己的面试过程。一共7轮面试,其中1轮电面,6轮Onsite。 第一轮 电面1 第一轮是电面,先是让自我介绍,然后根据简历提了几个问题之后,就直接开始上题了。 给出一个字符串(假设长度最长为1000),求出它的最长回文子串,你可以假定只有一个满足条件的最长回文子串。 LintCode原题:http://

2017-06-12 16:11:37 715

转载 Lintcode71 Binary Tree Zigzag Level Order Traversal solution 题解

题目描述】 Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). 给出一棵二叉树,返回其节点值的锯

2017-06-12 16:07:09 345

空空如也

空空如也

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

TA关注的人

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