3423. Maximum Difference Between Adjacent Elements in a Circular Array
Given a circular array
nums
, find the maximum absolute difference between adjacent elements.Note: In a circular array, the first and last elements are adjacent.
go
1 | package main |