Netcore Interview Question

Find out min. & max. value from the given array