It was a simple coding challenge in 2 parts- 1. Given an unsorted positive integers Array, find the maximum integer. Write test cases to test it. He wanted the test cases from user perspective, which he didn't tell earlier . I was approaching it from both the user and design perspective. He had a rude way of telling that.
2. for the same Array find the first and second largest integer. - He kept on saying - I don't care about the solution, dude ! Even after explaining/refactoring my approach he didn't understand it.