+ 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

1st Jun 2017, 4:39 PM
Pixie
Pixie - avatar
10 Antworten
+ 8
Added 👌
2nd Jun 2017, 12:27 PM
Pixie
Pixie - avatar
+ 7
Yeah. I was surprised as well. I usually get more answers but this one was tougher than usual.
2nd Jun 2017, 10:15 AM
Pixie
Pixie - avatar
+ 7
https://www.codewars.com/users/Pixie11 Cant find you. Add me. I'll add you back.
2nd Jun 2017, 11:30 AM
Pixie
Pixie - avatar
+ 7
👍
2nd Jun 2017, 11:33 AM
Pixie
Pixie - avatar
3rd Jun 2017, 10:07 AM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 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
2nd Jun 2017, 11:05 AM
Pixie
Pixie - avatar
+ 5
I started to play on Codewars soon, it is great, I enjoy it very much. Unfortunately this kata isn't available in Java :(
2nd Jun 2017, 10:52 AM
Tamás Barta
Tamás Barta - avatar
+ 5
bartatamas
2nd Jun 2017, 11:24 AM
Tamás Barta
Tamás Barta - avatar
2nd Jun 2017, 11:32 AM
Tamás Barta
Tamás Barta - avatar
+ 4
It seems like only you even dared to attempt the question xD Well done 👍
2nd Jun 2017, 7:48 AM
Pixie
Pixie - avatar