Infosys interview question

Dynamic Programming, Arrays, Stacks.Explain any one design principle