Xerox interview question

How would you program a full stack grid?