No random tasks.
Filtering and uniq-ing are not novel.
Please do not republish this kata.
This comment is hidden because it contains spoiler information about the solution
a little math trick
I found a simple solution, but it didn't fit into the timer. And then an even simpler solution came to mind. I loved it and made me laugh😆.
The solution is simple, but it takes too much time to figure out what to return(Object.name).
Random Tests random expected 35 to equal 49 - This is all I got in random tests
You can try using print functions to see whats being passed in as input.
It was interesting to solve this kata
Loading collection data...
No random tasks.
Filtering and uniq-ing are not novel.
Please do not republish this kata.
This comment is hidden because it contains spoiler information about the solution
a little math trick
I found a simple solution, but it didn't fit into the timer. And then an even simpler solution came to mind. I loved it and made me laugh😆.
The solution is simple, but it takes too much time to figure out what to return(Object.name).
Random Tests
random
expected 35 to equal 49 -
This is all I got in random tests
You can try using print functions to see whats being passed in as input.
This comment is hidden because it contains spoiler information about the solution
It was interesting to solve this kata