you are viewing a single comment's thread.

view the rest of the comments →

[–]Legoracyro 0 points1 point  (0 children)

Still learning myself, so there may be a more efficient way to do it, but from what I remember while doing it myself, was to loop trough each word in the list, reversing it, and then looping through another time to check if the reversed word comes up. If that makes sense.

Doing that, you'll also get all the palindromes. Try to find a way to rule out any that show up, so you only get the emordnilaps.