Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
4 cicles for counting 4 vars? :X
I wrong read a description and give wrong reslts 😂👌
This comment is hidden because it contains spoiler information about the solution
Sorry, there are no errors in the tests. Before posting issues look at the top of the page: 612 people passed the Go kata; if there were errors somebody would have seen them before you.
You can read this to have some help: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
Cheers.
GO
Have problem with case:
var a1 = []int{121,144,19,161,19,144,19,11}
var a2 = []int{121,361,20736,361,25921,361,20736,361}
In the playground (https://www.tutorialspoint.com/execute_golang_online.php) I recive correct answer(as expected in the test): false, but when I run code here I recive "true". I checked outputs and it seems that it calulates differently here(not how its logicaly supposed to). Can it be because of different versions of Go (1.8.3 in playground and 1.12 here)?
This comment is hidden because it contains spoiler information about the solution