Continental Interview Question

OOP C++ design patterns Write function to find maximum in array