GlobalLogic interview question

They ask me some situation based question from data structures