977. Squares of a Sorted Array
Time: 10min
Method: two pointers - front vs end
Reflection: index boundary
Time complexity: O(N)
Space complexity: O(N)
209. Minimum Size Subarray Sum
Time: 10min
Method: two pointers - sliding window
Reflection: Subarray is a contigious sequence of elements within an array. Need to consider special extreme case.
Time complexity: O(N)
Space complexity: O(1)