Xerox Interview Question

How would you program a full stack grid?