Ad
  • Custom User Avatar
      // TODO: Get organized!
      console.log("THIS IS THE INPUT:", array);
    }```
    
    Output:
    
    ```Should work as expected
    Handles small inputs
    THIS IS THE INPUT: [ 'Isabella', 'Andrew', 'Harper', 'Grace' ]
    Wrong value for Isabella,Andrew,Harper,Grace,Isabella,Ethan,Brooklyn,Michael,Sophia - Expected: undefined, instead got: ["Andrew","Brooklyn","Ethan","Grace","Harper","Isabella","Isabella","Michael","Sophia"]
    Handles bigger inputs
    THIS IS THE INPUT: [ 'Daniel', 'Gabriel', 'David' ]
    Wrong value for Daniel,Gabriel,David,Emma,Andrew,Emily,Addison,Elijah,Emma,Ethan,Robert,David,Ava,Christopher,Olivia,Joseph,Andrew,Isabella,Brooklyn - Expected: undefined, instead got: ["Addison","Andrew","Andrew","Ava","Brooklyn","Christopher","Daniel","David","David","Elijah","Emily","Emma","Emma","Ethan","Gabriel","Isabella","Joseph","Olivia","Robert"]```
    
    
  • Default User Avatar

    same issue. the correct output should be [1,2,3,4] not [1,0]

    edit: (javascript)

  • Default User Avatar

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

  • Default User Avatar

    I have, none that I can find. I even copied the expected/received output to my text editor and double checked.

  • Default User Avatar

    great kata, thanks! Not sure if I'm missing something, but I appear to be getting the correct output and the test is failing (javascript):

    Expected: □ ■ □ ■
    ■ □ ■ □
    □ ■ □ ■
    ■ □ ■ □, instead got: □ ■ □ ■
    ■ □ ■ □
    □ ■ □ ■
    ■ □ ■ □

    I can't identify any difference between the expected and received outputs. I'm sure I messed up somewhere, but wanted to post this in case I found a bug. Any suggestions or feedback would be great :)

  • Default User Avatar
    instead got: .... . .-.. .-.. ---  .-- --- .-. .-.. -..```
    ...?