SF
Road to Dream
Road to Dream
注册登录
关注博客
注册登录
主页
关于
RSS
LeetCode: 225. Implement Stack using Queues
snakech
2016-08-12
阅读 3 分钟
2.7k
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:
LeetCode: 93. Restore IP Addresses
snakech
2016-08-12
阅读 2 分钟
2.7k
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
LeetCode: 344. Reverse String
snakech
2016-08-08
阅读 1 分钟
2.4k
Write a function that takes a string as input and returns the string reversed.