by Alex_R
I don't know how to determine the correctness - something algorithmically more efficient otherwise, something in memory, something short, something readable, something expandable, etc.
slazzy
The reaction of the interlocutor. If he does not pull the eye, then most likely the method is not bad.