• 150672

字数
• 227

收获喜欢
• 1

总资产
IP属地：北京
• 50. Pow(x, n)

Implement pow(x, n).实现x的n次方。利用x^n = x^(n/2) * x^(n/2) *x^(n%2)，使用分治法完成。

• 224 & 227. Basic Calculator & Basic Calculator II

224. Basic Calculator Implement a basic calculator to evaluate a simple ...

• 207. Course Schedule

There are a total of n courses you have to take, labeled from 0 to n - 1...

• 95. Unique Binary Search Trees II

Given an integer n, generate all structurally unique BST's (binary searc...

• 310. Minimum Height Trees

For a undirected graph with tree characteristics, we can choose any node...

• 332. Reconstruct Itinerary

Given a list of airline tickets represented by pairs of departure and ar...

• 228. Summary Ranges

Given a sorted integer array without duplicates, return the summary of i...

• 221. Maximal Square

Given a 2D binary matrix filled with 0's and 1's, find the largest squar...

• 222. Count Complete Tree Nodes

Given a complete binary tree, count the number of nodes. Definition of a...

BYR