Goldman SachsSoftware Engineer · Phone ScreenCodemia practiceValidate grid symmetric
Given a 2D grid, write a function to determine if the grid is symmetric about its center. The function should return true if the grid is symmetric, meaning that it is identical when flipped both horizontally and vertically; otherwise, it should return false. The input will be a 2D list of integers, and the output should be a boolean value.
Medium
Coding & Algorithms