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) 所包...