原创 Lintcode108 Palindrome Partitioning || solution 題解

【題目描述】Given a strings, cutsinto some substrings such that every substring is a palindrome.Return the minimum cuts needed

原创 Lintcode140 Fast Power solution 題解

【題目描述】Calculate the an % b where a, b and n are all 32 bit integers.計算an% b,其中a,b和n都是32位的整數。【題目鏈接】www.lintcode.com/en/pr

原创 Lintcode138 Subarray Sum solution 題解

【題目描述】Given an integer array, find a subarray where the sum of numbers iszero. Your code should return the index of the

原创 Lintcode105 Copy List with Random Pointer solution 題解

【題目描述】A linked list is given such that each node contains an additional random pointer which could point to any node in

原创 Lintcode163 Unique Binary Search Trees solution 題解

【題目描述】Given n, how many structurally unique BST s (binary search trees) that store values 1...n?給出n,問由 1...n爲節點組成的不同的二叉查

原创 INTEL GRAPHICS SOFTWARE ENGINEER面經

我是在線網申的Intel的Graphics Software Engineer崗位。剛接到了offer。Intel效率很快,在我申請兩天後就回復了我並約了電面時間。電面很簡單,沒有問什麼技術性問題,重點問了問行爲問題和我在簡歷上提到的項目。

原创 FACEBOOK SOFTWARE ENGINEER 電面面經

前不久剛剛面試了Facebook,面試的崗位是軟件工程師。很有幸通過了facebook的電面,所以來分享一下電面的經驗,也希望和大家交流一下。講真facebook的效率不愧是出了名的高,我在得到通過了簡歷篩選的郵件回覆後就跟Recruite

原创 Lintcode165 Merge Two Sorted Lists solution 題解

【題目描述】Merge two sorted (ascending) linked lists and return it as a new sorted list. The new sorted list should be made b

原创 Lintcode137 Clone Graph solution 題解

【題目描述】Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.How we serialize an un

原创 Lintcode139 Subarray Sum Closest solution 題解

【題目描述】Given an integer array, find a subarray with sum closest to zero. Return the indexes of the first number and last

原创 Lintcode136 Palindrome Partitioning solution 題解

【題目描述】Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindro

原创 Lintcode164 Unique Binary Search Trees II solution

【題目描述】Given n, generate all structurally unique BST's(binary search trees) that store values 1...n.給出n,生成所有由1...n爲節點組成的不

原创 Lintcode131 Building Outline solution 題解

【題目描述】GivenNbuildings in a x-axis,each building is a rectangle and can be represented by a triple (start, end, height),w

原创 Lintcode163 Unique Binary Search Trees solution 題解

【題目描述】Given n, how many structurally unique BST s (binary search trees) that store values 1...n?給出n,問由 1...n爲節點組成的不同的二叉查