why use sorting and other algos which have non-linear time-complexity. traverse the array once and get the max and min
--------------------------------- Get a bigger mailbox -- choose a size that fits your needs.
why use sorting and other algos which have non-linear time-complexity. traverse the array once and get the max and min
--------------------------------- Get a bigger mailbox -- choose a size that fits your needs.