01 2015 档案
摘要:上大学的时候学过软件测试这门课,但是在公司实习时才真正实战了一把。先花了半个月把Junit In Action 英文版看完了(话说在公司学习效率就是比学校里高啊) 废话不多说,直接开始主题。 为什么要写单元测试? 两个理由:1.给我们重构的信心(give us the confidence ...
阅读全文
摘要:这两个月在看一本书《杰出青少年的七个习惯》,反复地读每次读完都觉得内心更有力量了,所以写下值得分享的内容。 其中有一章题目是《个人的成功》,主旨就是:在你开始在公众生活中赢取胜利之前,你首先必须赢取个人内心战争的胜利,说得好像打仗一样,对嘛?其实我们就是在打一场看不见的仗,我们要跟过去的旧我打...
阅读全文
摘要:Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
阅读全文
摘要:Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
阅读全文
摘要:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?[Thoughts]有一种使用两个指针的方法,一个fast指针,每次移动两步;一个s...
阅读全文
摘要:Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's 1 ...
阅读全文
摘要:上一篇博客很被大家鼓励,趁着自己正处于实习期,总结一下自己的实习经历与体会,分享给有需要的学生朋友们。我现在一所985,211大学读软件工程专业,大四没有课所以要在外面实习一年时间,期间完成学校的毕业设计即可。目前在一家外企工作,实习工资算高的了,工作时间较自由工作满八小时即可,不用打卡。办公地点在...
阅读全文
摘要:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
阅读全文
摘要:晚上看到一篇博客,作者是翻译《黑客与画家》的阮一峰。他说一个网站上有人提问:“最让你感到吃惊的信息是什么?” 有人回答:“人生只有900个月。”九百除以十二,计算器准确的告诉我等于七十五,这也差不多是现在的人均寿命。这当中还包括了睡觉吃饭闲扯漫无目的的时间,如果用一张A4纸打印出30x30的表格,每...
阅读全文
摘要:Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ...
阅读全文
摘要: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 an...
阅读全文
摘要:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
阅读全文

浙公网安备 33010602011771号