You are given a 0-indexedm x n integer matrix mat and an integer k. You have to cyclically right shift odd indexed rows k times and cyclically left shift even indexed rows k times.
Return trueif the initial and final matrix are exactly the same andfalseotherwise.