Given an array of integers nums, write a method that returns the "pivot" index of this array. We ...
Given two stringssandtwhich consist of only lowercase letters. Stringtis generated by random shuffling stringsand then add one more letter at a random position. Find the letter that was added int. Ex ...
2016-08-28 23:57 0 8633 推荐指数:
Given an array of integers nums, write a method that returns the "pivot" index of this array. We ...
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 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 ...
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 ...