An integer sequence is called arithmetic if it contains at least
Given an integer array nums, return the number of arithmetic subarrays of nums.
A subarray is a contiguous subsequence of an array.
Constraints:
nums.length
nums[i]
An integer sequence is called arithmetic if it contains at least
Given an integer array nums, return the number of arithmetic subarrays of nums.
A subarray is a contiguous subsequence of an array.
Constraints:
nums.length
nums[i]