Given a grid of R rows and C columns with R,C at most 5, find the largest set of seats so that no occupied seat has occupied neighbors on both its left and right or both its front and back.
Easy2Brute forceImplementationNo attempts yetTime limit5sMemory limit512 MB