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 …
In this post, we have shown you the C# code to process raw data of 10K rows of gender, height and corresponding weight. It takes a while to code …
Given N natural integers (from 1 to N), the number of all permutations is N! (Factorial). That is explained by the fact: There are N choices when selecting the …