Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Resolving question.

  • Custom User Avatar

    I'll give you a full example:

    Word    Position
    AAAB    1
    AABA    2
    ABAA    3
    BAAA    4
    

    You can't use any number, the number you have to return is the position that particular word is when sorted alphabetically between all the words with the same letters, is it clearer now? Mark it as resolved if it is.

  • Custom User Avatar

    "We can then assign a number to every word, based on where it falls in an alphabetically sorted list of all words made up of the same group of letters."