Ad
  • Default User Avatar

    "If there are two or more oldest age, then return both of them in array format."
    From my POV if we are in the children classroom ans I am 30 years old and you are the same age as me, we are the two oldest here. (except the teacher :P)
    Please correct me if I am wrong somehow. Thanks.

  • Custom User Avatar

    How do you know that at second last index there will be the second largest number?? For all we know there could be a duplicate of largest number....?