997. Find the Town Judge-找到小镇的法官
In a town, there are N people labelled from 1 to N. Th... » 阅读全文
In a town, there are N people labelled from 1 to N. Th... » 阅读全文
In a binary tree, the root node is at depth 0, and chil... » 阅读全文
For a non-negative integer X, the array-form of X is an... » 阅读全文
Given an array A of positive lengths, return the larges... » 阅读全文
Given an integer array nums sorted in non-decreasing or... » 阅读全文
A binary tree is univalued if every node in the tree ha... » 阅读全文
In a array A of size 2N, there are N+1 unique elements,... » 阅读全文
In an alien language, surprisingly they also use englis... » 阅读全文
You are given an array of n strings strs, all of the sa... » 阅读全文
Given a string S that only contains "I" (incr... » 阅读全文