An array is circularly sorted if the elements are sorted in ascending order but displaced, or rotated, by any number of steps.
Complete the function/method that determines if the given array of integers is circularly sorted.
These arrays are circularly sorted (
While these are not (
The solution in Golang
Test cases to validate our solution