Intro LeetCode 121 & LeetCode 122 are similiar so here...
Intuition keep a subarray of right side of array and...
Intuition An intuitive thought: iterate the given array and record...
Intro Approach 1 gives the method to test whether n...
Intuition On first glimpse, I try DP and turn out...