You are given an integer array nums that represents a circular array. Your task is to create a new array result of the same size, following these rules:
Return the new array result.
Note: Since nums is circular, moving past the last element wraps around to the beginning, and moving before the first element wraps back to the end.
You are given an integer array nums that represents a circular array. Your task is to create a new array result of the same size, following these rules:
Return the new array result.
Note: Since nums is circular, moving past the last element wraps around to the beginning, and moving before the first element wraps back to the end.