Leetcode 3105. Longest Strictly Increasing or Strictly Decreasing Subarray | Hello Interview