Leetcode Rotated And Sorted Array In Jsp