Qestion input: an integer array with 1 or 0 for each index output: last ...
Longest substring with k distinct characters Algorithm traverse the inpu...
72. Edit Distance Algorithm Create a 2D array lookup[i][j]. It's defined...
LintCode 77. Longest Common Subsequence Algorithm Two input string a wit...
Question Find the Nth number in fibonacci numbers Algorithm fib(n) = fib...
Find Longest Continuous Increasing Subarray Algorithm Create a variable ...
Question Bomb Game,給一個(gè)m*n的二維數(shù)組,其中有: -1 墻, 1 怪獸, 0 空白。 你有一個(gè)炸彈,可以扔在除墻之外的任意...
Definition of LCA The lowest common ancestor is defined between two node...
Question 輸入是一個(gè)array of numbers,一個(gè)size, 輸出這個(gè)size的一個(gè)window (start, end) 所包...