Ad
  • Custom User Avatar

    Or don't make your classes public. Just write something like "class Demon extends UnderworldFigure".

  • Custom User Avatar

    One can actually inherit from an inner class. It's a little very wordy, but it should work

  • Custom User Avatar

    Mh, you make a good point here: I opted to follow the author and to consider the same exact word as an edge case of an anagram, but I see your point. I added that to the description, thanks!

  • Custom User Avatar

    Which language? JS, Ruby, Python? Probably Python, since JS and Ruby have random tests. Do you ignore cases and punctuation?