Here’s a very simple answer for this question:
For example, interviewer might you ask you Next Greater Element problem. More…