09 2015 档案
摘要:Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
阅读全文
摘要:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
阅读全文
摘要:Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of ...
阅读全文
摘要:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S = "ADOBECODE...
阅读全文
摘要:Longest Substring without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the ...
阅读全文
摘要:implement strStr()Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.brute forcedon’t overlook t...
阅读全文
摘要:主要是看了这篇文章http://www.geeksforgeeks.org/union-find/总结下目前理解的Union-Find用在disjoint-set data structure上,disjoint-set keeps track of a set of elements partit...
阅读全文
摘要:在Peet's Coffe & Tea自习,昨天一天人都很多,吵得我看不进书,隔壁一桌亚裔的妈妈们一直在聊家长里短,喝咖啡喝了一个下午。今天却安静了很多,难道是因为周五下午?日子真是过得特别快,六月份的时候想着,九月结束前一定找到工作了吧,然而转眼九月快要结束了,并没有实现当时的愿望。现在想着,圣诞...
阅读全文
摘要:从六月到现在,四个月。六月从15号开始算起,磨磨蹭蹭的日子过到七月,一直到七月份拿到currenex的面试,两轮onsite,最后fail了,才开始意识到些什么。之前的我一直在害怕,虽然现在也怕,但是那个时候因为怕甚至不去尝试。直到八月13号,在墙上贴上时间表开始,日子才终于有了些痛的感觉。看着墙上...
阅读全文
摘要:1 public static void main(String[] args){2 System.out.println("Hello World!");3 }
阅读全文

浙公网安备 33010602011771号