961. N-Repeated Element in Size 2N Array-重复 N 次的元素
In a array A of size 2N, there are N+1 unique elements,... » 阅读全文
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... » 阅读全文
Given an array of integers arr, return true if and only... » 阅读全文
Given the root node of a binary search tree, return the... » 阅读全文
You are given an array of logs. Each log is a space-del... » 阅读全文
写一个RecentCounter类来计算特定时间范围内最近的请求。 请你实现RecentCounter类: R... » 阅读全文
Every email consists of a local name and a domain name,... » 阅读全文
Your friend is typing his name into a keyboard. Sometim... » 阅读全文