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.
I like your solution, just use strings.Builder instead concatenaning strings
Solving the task on typescript, I had the same problem, but I solved it.
The problem concerns the test that follows the test that you are looking at, with the data
a1 = [3,4];
a2 = [0.25];
revise your solution algorithm, and deal with the output of debug information
Date: Feb 5 2020
One of the test is wrong!
Go v1.12
INPUT:
[11, 19, 19, 19, 121, 144, 144, 161]
[121, 361, 361, 14641, 20736, 20736, 25921, 36100]
r: false ;
Expected: true
to equal: false