Qestion input: an integer array with 1 or 0 for each index output: last character is do...
Qestion input: an integer array with 1 or 0 for each index output: last character is do...
Longest substring with k distinct characters Algorithm traverse the input string from f...
72. Edit Distance Algorithm Create a 2D array lookup[i][j]. It's defined as Minimum edi...
LintCode 77. Longest Common Subsequence Algorithm Two input string a with length length...
Question Find the Nth number in fibonacci numbers Algorithm fib(n) = fib(n - 1) + fib(n...
Find Longest Continuous Increasing Subarray Algorithm Create a variable holding current...
Question Bomb Game攘宙,給一個m*n的二維數(shù)組,其中有: -1 墻, 1 怪獸, 0 空白。 你有一個炸彈,可以扔在除墻之外的任意位置,最多可以炸死幾個怪獸侣滩。炸...
Definition of LCA The lowest common ancestor is defined between two nodes v and w as th...
Question 輸入是一個array of numbers君珠,一個size, 輸出這個size的一個window (start, end) 所包含數(shù)字的和,最大 Algori...
Question Given an array of integers and a list of intervals with no over overlap betwee...
Algorithm sort intervals according to start time in increasing order traverse sorted in...
本人是想要成為互聯(lián)網(wǎng)產(chǎn)品人的應(yīng)屆畢業(yè)生唯竹,為了做一份好的簡歷也是蠻拼,來來回回有很多想法和思路苦丁,修改了好多次浸颓,雖然最終未必做出了形式與內(nèi)容俱佳的簡歷,但是過程中有些思考還是值得...
Collection Types Dictionary Array Array An array stores multiple values with same type ...