Add Range Minimum Query Problem and Improve Lowest Common Ancestor