Sankey Solutions Interview Question

tic ac toe