Go 100%
Code\ngo\nfunc areSimilar(mat [][]int, k int) bool {\n    for i, m := range mat {\n        move := 0\n        if i % 2 == 0 {\n            move = -k + len(m)*50
# Code\n```go\nfunc areSimilar(mat [][]int, k int) bool {\n    for i, m := range mat {\n        move := 0\n        if i % 2 == 0 {\n            move = -k + len(m)*50\n        } else {\n            move = +k + len(m)*50\n        }\n        for j, v := range m {\n            if v != m[(j+move)%len(m)] {\n                return false\n            }\n        }\n    }\n    return true\n}\n```
['Go']