+ 12
Coding Challenge #7: Sorting Arrays by the Amount of Perfect Squares that Each Element May Generate (My Code Included)
You will be given an array of positive integers. The array should be sorted by the amount of perfect squares and reversed, that can be generated from each number permuting its digits. The complete question is given within my code. Best of luck. This is actually a bit harder than the usual challenges. https://code.sololearn.com/crHrn64wD2R0/?ref=app
10 Respuestas
+ 8
Added 👌
+ 7
Yeah. I was surprised as well. I usually get more answers but this one was tougher than usual.
+ 7
https://www.codewars.com/users/Pixie11
Cant find you.
Add me. I'll add you back.
+ 7
👍
+ 6
Yeah codewars is fun. But the questions are mainly set favoring JS/Python. Link your codewars account here. We can add each other @Tamas
+ 5
I started to play on Codewars soon, it is great, I enjoy it very much. Unfortunately this kata isn't available in Java :(
+ 5
bartatamas
+ 5
+ 4
It seems like only you even dared to attempt the question xD
Well done 👍