摘要:
Implement a stack with min() function, which will return the smallest number in the stack.It should support push, pop and min operation all in O(1) co... 阅读全文
摘要:
Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from th... 阅读全文