Maximizing the Sum Inside a Tetris Block
In a two-dimensional area of size n×m, each position contains a natural number. Your task is to write code that places one of the five types of Tetris blocks shown in the image below onto the area such that the sum of the numbers within the block is maximized.