3100 - 3199
Solutions categorised by Problem IDs
3105 - Longest Strictly Increasing or Strictly Decreasing SubarrayScan the array once and track the current increasing and decreasing streak lengths to find the longest monotonic subarray.3142 - Check if Grid Satisfies ConditionsCheck a grid's adjacency conditions by comparing vertical neighbors for equality and horizontal neighbors for inequality.