Pregunta de entrevista de Google

Coding questions on Grid patterns, and graph patterns.