Implement 2D word search variants and analyze complexity | Uber