Check if Grid Satisfies Conditions - Practice Coding | SlaveCode