原创 LeetCode-190. Reverse Bits

問題:https://leetcode.com/problems/reverse-bits/?tab=Description Reverse bits of a given 32 bits unsigned integer.把二

原创 LeetCode-405. Convert a Number to Hexadecimal

問題:https://leetcode.com/problems/convert-a-number-to-hexadecimal/?tab=Description 十進制轉十六進制。 Given an integer, wri

原创 LeetCode-235. Lowest Common Ancestor of a Binary Search Tree

問題: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/?tab=Description Given a binary

原创 LeetCode-108. Convert Sorted Array to Binary Search Tree

問題: https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/?tab=Description Given an array wher

原创 LeetCode-437. Path Sum III

問題: https://leetcode.com/problems/path-sum-iii/?tab=Description You are given a binary tree in which each node co

原创 LeetCode-112. Path Sum

問題:https://leetcode.com/problems/path-sum/?tab=Description Given a binary tree and a sum, determine if the tree ha

原创 LeetCode-257. Binary Tree Paths

問題: https://leetcode.com/problems/binary-tree-paths/?tab=Description Given a binary tree, return all root-to-leaf

原创 LeetCode-111. Minimum Depth of Binary Tree

問題: https://leetcode.com/problems/minimum-depth-of-binary-tree/?tab=Description Given a binary tree, find its min

原创 LeetCode-226. Invert Binary Tree

問題:https://leetcode.com/problems/invert-binary-tree/?tab=Description Invert a binary tree.交換左右子樹。 4 /

原创 LeetCode-461. Hamming Distance

問題:https://leetcode.com/problems/hamming-distance/?tab=Description The Hamming distance between two integers is th

原创 LeetCode-404. Sum of Left Leaves

問題:https://leetcode.com/problems/sum-of-left-leaves/?tab=Description Find the sum of all left leaves in a given bi

原创 LeetCode-110. Balanced Binary Tree

問題:https://leetcode.com/problems/balanced-binary-tree/?tab=Description Given a binary tree, determine if it is hei

原创 LeetCode-501. Find Mode in Binary Search Tree

問題:https://leetcode.com/problems/find-mode-in-binary-search-tree/?tab=Description Given a binary search tree (BST)

原创 LeetCode-100. Same Tree

問題:https://leetcode.com/problems/same-tree/?tab=Description Given two binary trees, write a function to check if t

原创 Linux簡介

Linux發展史: Linux 1991年出現。 Linux 內核版本 是Linux的核心版本。 Linux 主要發行版本:redhat、centOS(RedHat系列的)、ubuntu(以桌面應用爲主)、fedora、De