Ad
  • Custom User Avatar

    Yo I think one of the test case is wrong (Ruby)
    Below are the results I got after submit (run tests step was ok)
    Shouldn't it be rank 2 Elizabeth? How the hell it is expected to be Matthew? I printed both n and the array values out to check.
    4
    [["Addison", 264], ["Michael", 204], ["Andrew", 195], ["Benjamin", 136], ["Jayden", 118], ["Lily", 58], ["Sofia", 50]]
    ✔ Test Passed: Value == "Benjamin"
    2
    [["Matthew", 450], ["Elizabeth", 440], ["Jayden", 354], ["Natalie", 186], ["Chloe", 129], ["Elijah", 45]]
    ✘ Expected: "Matthew", instead got: "Elizabeth"