### LeetCode for IT Interview

LeetCode OJ is a platform for preparing technical coding interviews. LeetCode OJ 是专门给准备编程面试的在线代码判别平台。本专栏专门分享解题报告。

1 已关注
12篇博文
• #### LeetCode--online portal for IT interview

LeetCode--online portal for IT interview http://leetcode.com

2014-02-13 11:50
621
• #### LeetCode--Single Number

Given an array of integers, every element appears twice except for one. Find that single one. Not...

2014-05-06 18:42
457
• #### LeetCode--Maximum Depth of Binary Tree

/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * ...

2014-05-07 17:15
545
• #### LeetCode--Reverse Integer

//#include #include #include //using namespace std; //const int MAXN=10; //int Stack[MAXN]; sta...

2014-05-09 20:49
717
• #### LeetCode--Search Insert Position

Search Insert Position  Total Accepted: 14091 Total Submissions: 41005My Submissions Given a so...

2014-05-10 11:25
838
• #### LeetCode--Same Tree

Same Tree  Total Accepted: 16072 Total Submissions: 38790My Submissions Given two binary...

2014-05-13 09:46
728
• #### LeetCode--Binary Tree Preorder Traversal

Binary Tree Preorder Traversal  Total Accepted: 18022 Total Submissions: 51784My Submissions Gi...

2014-05-14 12:47
633
• #### LeetCode--Single Number II

Single Number II  Total Accepted: 14472 Total Submissions: 44420My Submissions Given an ...

2014-05-14 21:38
643

Linked List Cycle  Total Accepted: 17148 Total Submissions: 49300My Submissions Given a linked ...

2014-05-14 22:17
652
• #### LeetCode--Minimum Depth of Binary Tree

本文先参考了http://www.cnblogs.com/remlostime/archive/2012/11/12/2766608.html 法一，递归 /** * Definition for ...

2014-05-15 15:44
689
• #### LeetCode--Binary Tree Level Order Traversal

Binary Tree Level Order Traversal  Total Accepted: 12441 Total Submissions: 40879My Submissions ...

2014-05-16 10:16
712
• #### LeetCode--Symmetric Tree

对于本题，想到一个中序遍历后，判别是否为回文串的方法，却WA多次 class Solution { public: vector vectorValue; void inOrder(T...

2014-05-16 14:27
680