关闭
当前搜索:

Leetcode 114. Flatten Binary Tree to Linked List

flatten binary tree to linked list...
阅读(11) 评论(0)

Effective Modern C++ 32. Use init capture to move objects into closures.

use init capture to move objects into closures...
阅读(9) 评论(0)

113. Path Sum II

Path SumII...
阅读(11) 评论(0)

Leetcode *112. Path Sum

Path sum...
阅读(14) 评论(0)

Leetcode 111. Minimum Depth of Binary Tree

Minimum Depth of Binary Tree...
阅读(13) 评论(0)

Leetcode 110. Balanced Binary Tree

Balance Binary Tree...
阅读(6) 评论(0)

Effective Mordern C++ 26. Avoid overloading on universal references.

avoid overloading on universal references...
阅读(12) 评论(0)

*Leetcode 109. Convert Sorted List to Binary Search Tree

参考后,这个方法数据中序用的很好 /**  * Definition for singly-linked list.  * struct ListNode {  *     int val;  *     ListNode *next;  *     ListNode(int x) : val(x), next(NULL) {}  * };  */ /**  * Def...
阅读(12) 评论(0)

Leetcode 108. Convert Sorted Array to Binary Search Tree

/**  * Definition for a binary tree node.  * struct TreeNode {  *     int val;  *     TreeNode *left;  *     TreeNode *right;  *     TreeNode(int x) : val(x), left(NULL), right(NULL) {}  * }; ...
阅读(8) 评论(0)

nQueens

#include #include // 第k行的位置是否有效 bool isValid(std::vectorint>& p, int k) { if (k > p.size() - 1) return false; for (size_t i = 0; i != k; ++i) { if ((p[k] == p[i]) || (abs(p[k] - p[i]...
阅读(13) 评论(0)

Leetcode 107. Binary Tree Level Order Traversal II

Binary Tree Level Order Traversal...
阅读(11) 评论(0)

Leetcode 105. Construct Binary Tree from Preorder and Inorder Traversal

construct Binary Tree from Preorder and inorder Traversal...
阅读(9) 评论(0)

Leetcode 104. Maximum Depth of Binary Tree

Maximum depth of binary tree...
阅读(10) 评论(0)

*Leetcode 103. Binary Tree Zigzag Level Order Traversal

Binary Tree Zigzag level Order Traversal...
阅读(17) 评论(0)

Leetcode 102. Binary Tree Level Order Traversal

Binary Tree Level order Traversal...
阅读(15) 评论(0)

Leetcode 101. Symmetric Tree

symmetric Tree...
阅读(15) 评论(0)

Leetcode 100. Same Tree

Same Tree...
阅读(16) 评论(0)

Effective Modern c++ 17. the rules govering the special member functions

The C++11 rules govering the special member funcions are thus:Default constructor: Same rules as c++98. Generated only if the class contains no user-declared constructors.Destructor: Essentially same r...
阅读(20) 评论(0)

Leetcode 99. Recover Binary Search Tree

recover binary search tree...
阅读(17) 评论(0)

Leetcode 98. Validate Binary Search Tree

validate Binary Search Tree;...
阅读(21) 评论(0)
172条 共9页1 2 3 4 5 ... 下一页 尾页
    个人资料
    • 访问:7428次
    • 积分:1763
    • 等级:
    • 排名:千里之外
    • 原创:172篇
    • 转载:0篇
    • 译文:0篇
    • 评论:3条
    最新评论