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,给一个m*n的二维数组,其中有: -1 墙, 1 怪兽, 0 空白。 你有一个炸弹,可以扔在除墙之外的任意...
Definition of LCA The lowest common ancestor is defined between two node...
Question 输入是一个array of numbers,一个size, 输出这个size的一个window (start, end) 所包...