摘要:
题目:Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For ex... 阅读全文
摘要:
题目:Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321思路:迭代计... 阅读全文
摘要:
题目:Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3,Return [... 阅读全文