On an m x n grid with black pawns, place a white pawn on every empty cell. A white pawn moves forward (row+1) and captures diagonally (row+1, col-1) or (row+1, col+1). Calculate the total number of…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.