representation of stack in memory - Search