#3423
Maximum Difference Between Adjacent Elements in a Circular Array
newbie · 225 · lc easy +17 · 75.7% accepted · 332 likes · top 87%
Description
Given a circular array nums, return the maximum absolute difference between any two adjacent elements.
Note: in a circular array, the first and last elements are considered adjacent.
Code
1
2
3