Information Asset interview question

1. find second max from an array4 2. remove space from string