2015年7月11日

232. Implement Queue using Stacks

摘要: Implement the following operations of a queue using stacks.push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front o... 阅读全文

posted @ 2015-07-11 06:43 shini 阅读(100) 评论(0) 推荐(0) 编辑

231. Power of Two

摘要: Given an integer, write a function to determine if it is a power of two.Credits:Special thanks to@jianchao.li.fighterfor adding this problem and creat... 阅读全文

posted @ 2015-07-11 06:35 shini 阅读(205) 评论(0) 推荐(0) 编辑

导航