摘要:
1 """ 2 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). 3 Example: 4 Inpu 阅读全文
摘要:
1 """ 2 Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. 3 Example 1: 4 Input: 5 [ 6 [1,1,1], 7 [1,0,1], 阅读全文
摘要:
1 """ 2 You are climbing a stair case. It takes n steps to reach to the top. 3 Each time you can either climb 1 or 2 steps. In how many distinct ways 阅读全文