发布了文章2016-08-12
push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element.empty() -- Return whether the stack is empty.Notes:
发布了文章2016-08-12
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
发布了文章2016-08-09
Write a function that takes a string as input and returns the string reversed.