• ripcord@lemmy.world
    link
    fedilink
    arrow-up
    38
    ·
    5 months ago

    What does this have to do with AI or with bubblesort?

    This looks like just a list sorted alphabetically. Which unfortunately doesn’t work for the use case. But has been a problem in computing for like literally 70 years.

    • a4ng3l@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      5 months ago

      But your explanation is sooooo much less trendy… we’re back to reddit karma bullshit :-(

  • kickeriekuh@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    ·
    5 months ago

    In German, numbers are spoken from left to right, as in English, but ones and tens are always swapped. So 23 becomes three, twenty, and 135 becomes one hundred, five, and thirty:

    • Achter Stock (8)
    • Achtzehnter Stock (18)
    • Achtundzwanzigster Stock (28)
    • Dreizehnter Stock (13)
    • Dreiundzwanzigster Stock (23)
    • Dritter Stock (3)
    • Einundzwanzigster Stock (21)
    • Elfter Stock (11)
    • Erdgeschoss (0)
    • Erster Stock (1)

    Oh, and the first floor is called the ground floor and is not counted.

  • balsoft@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    5 months ago
    touch `seq 1 100`
    ❯ ls
    1    18  27  36  45  54  63  72  81  90
    10   19  28  37  46  55  64  73  82  91
    100  2	 29  38  47  56  65  74  83  92
    11   20  3   39  48  57  66  75  84  93
    12   21  30  4	 49  58  67  76  85  94
    13   22  31  40  5   59  68  77  86  95
    14   23  32  41  50  6	 69  78  87  96
    15   24  33  42  51  60  7   79  88  97
    16   25  34  43  52  61  70  8	 89  98
    17   26  35  44  53  62  71  80  9   99
    

    (Do I need to tell you how many times I fucked up like this myself?)