摘要:
A subarray A[i], A[i+1], ..., A[j] of A is said to be turbulent if and only if: For i <= k < j, A[k] > A[k+1] when k is odd, and A[k] < A[k+1] when k 阅读全文
posted @ 2020-08-11 12:00
Schwifty
阅读(106)
评论(0)
推荐(0)
摘要:
Given an array A of 0s and 1s, we may change up to K values from 0 to 1. Return the length of the longest (contiguous) subarray that contains only 1s. 阅读全文
posted @ 2020-08-11 11:03
Schwifty
阅读(96)
评论(0)
推荐(0)
摘要:
Given an array A of 0s and 1s, we may change up to K values from 0 to 1. Return the length of the longest (contiguous) subarray that contains only 1s. 阅读全文
posted @ 2020-08-11 10:30
Schwifty
阅读(98)
评论(0)
推荐(0)

浙公网安备 33010602011771号