QotD (2016-Sep-14) – Order Order

Say you are given a string S1, containing only lower case letters (a-z) and space (you can ignore space). you are given another string (O1) that contains the expected order of letters. Check if the letters in S1 appear in the same order as O1. If so return true, else return false.

QotD (2016-Sep-13) – There is an APP for that

There are a few words to which you can add the word “app” to create a new word with a completely different meaning. App can be added it anywhere. For example, you can add “app” to “hen” to make “hAPPen”. If you add “app” to “rise” you get “APPrise “. Or “string” becomes “strAPPing”.