Author: ACMer
You are given two strings s and t. String t is generated by random shuffling string s and then add one more letter at a random position. Return the …
We know that the ls command under Linux displays the list of files and directories under the current directory. If you want to display the directories by excluding the …
C++11 (formerly named C++0x) has some great new features to improve the code efficiency such as the use of auto which is the same as the var in C#, …
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") = …
Recently, the game Pokemon becomes so popular that many people are walking down the streets catching the pokemon. As you walk and hold the smart phones, the screen display …