• + 0 comments

    this may be consice but it's not very efficient because you are iterating though the array 3 times when this can be done with one iteration.