Category: leetcode online judge
Given an array of positive integers from 1 to n, where n is the size of the array, find the missing numbers if any numbers can only appear in …
Given an array (non empty) of integers, find the number of minimum moves to make all elements equal. A move is to increment (n – 1) elements by one. …
Given a 32-bit integer (signed or unsigned), convert it to its hexadecimal in lowercase. The result should not have leading zero unless it is equal to zero. Please do …
Given a string (you may assume it is lowercase letters only), your task is to find out the first unique letter and return its index. If it does not …
Two strings are both lowercase letters. Write a function to determine if one string can be constructed using the letters from the other string. For example: canConstruct("aa", "ab") = …