HARMAN interview question

in an array find max difference between lowest and highest elements? insert Two stacks in single array? MVC flow?we don't have front controller what is the flow? sql joines?why joines? encapsulation and abstraction?