145. Binary Tree Postorder Traversal
tags: Easy、Tree
Given the root of a binary...
題目
3217. Delete Nodes From Linked List Present in Array難度: 中等
題意
給定一個鏈結串列head與一整...
1779. Find Nearest Point That Has the Same X or Y Coordinate
tags: Easy、Point
Y...
原文題目Given the root of a binary tree, invert the tree, and return its root.
題目摘要...
貪婪演算法(Greedy Algorithm) 又稱作貪心法,簡單來說,此演算法是在每一個步驟使用貪心原則,只考慮當前情況的前提下選擇最優解法。其精神在於「只做...
Given an unsorted integer array nums. Return the smallest positive integer that...