結果 : how to solve circular array problems