Amazon Interview Question

How to build connect 4