letter at a random position. Find the letter that was a ...
Given an array of integersnums, write a method that returns the pivot index of this array. We define the pivot index as the index where the sum of the numbers to the left of the index is equal to the ...
2017-11-20 12:08 1 3729 推荐指数:
letter at a random position. Find the letter that was a ...
to find an index mapping P, from A to B. A mapping P[ ...
Suppose you are at a party with n people (labeled from 0 to n - 1) and among them, there may exis ...
Given a binary tree, return all duplicate subtrees. For each kind of duplicate subtrees, you o ...
Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), ...
Given an integer n, find the closest integer (not including itself), which is a palindrome. The 'closest' is defined as absolute difference ...
Given an array A of strings made only from lowercase letters, return a list of all characters that ...
Given a list of directory info including directory path, and all the files with contents in this directory, you need to find out all the groups ...