McKinsey & Company Interview Question

1. Given a string containing extra commas, make a function to remove them 2. Given an array, return the max and min element as a tuple.