- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 Leetcode NO.102 Binary Tree Level Order Traversal
本题题目要求如下:Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree {3,9,20,#,#,15,7}, 3 /
2015-11-12 08:13:49 733
原创 Leetcode NO.225 Implement Stack using Queues
本题题目要求如下:Implement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element.empty()
2015-11-09 07:22:27 559
原创 Leetcode NO.299 Bulls and Cows
本题题目要求如下:You are playing the following Bulls and Cows game with your friend: You write a 4-digit secret number and ask your friend to guess it. Each time your friend guesses a number, you give
2015-11-06 14:18:22 960
Algorithm in C++, Part 1 - Part 4
2014-02-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人