My only suggestion is a hint to the solution, a link to a mathisfun page or something. I'm not asking for the solution, just a lead. I was looking up this problem for an algorithm I could learn, but I couldn't find anything at all. I don't know how people came up with that solution...
It just sucks to come up with a plan and finally find your solution, only see that 600+ people solved it in 1 line.
vos podes no te desalientes
kata hint != kata suggestion.
My only suggestion is a hint to the solution, a link to a mathisfun page or something. I'm not asking for the solution, just a lead. I was looking up this problem for an algorithm I could learn, but I couldn't find anything at all. I don't know how people came up with that solution...
It just sucks to come up with a plan and finally find your solution, only see that 600+ people solved it in 1 line.
le pongo mucho empeño a aprender, pero siento que no estoy entendiendo nada, sera normal? o mejor renuncio a esto :(