Airbnb Interview Question

Algorithm for determining win of a particular board game