Microsoft interview question

General Conditional Probability Questions, String Manipulation Questions