摘要:
Description: In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's att 阅读全文
摘要:
Description: Given an integer array, find three numbers whose product is maximum and output the maximum product. Example 1: Input: [1,2,3] Output: 6 E 阅读全文
摘要:
Description: Given an array A of non-negative integers, half of the integers in A are odd, and half of the integers are even. Sort the array so that w 阅读全文
摘要:
Description: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which 阅读全文
摘要:
Description: Given a paragraph and a list of banned words, return the most frequent word that is not in the list of banned words. It is guaranteed the 阅读全文
摘要:
Description: Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation. Note: T 阅读全文
摘要:
Description: Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: s = "leetco 阅读全文