Add Question 41-42.

All passed OJ test cases.