You are given a two dimensional integer array tiles, where tiles[i] carpetLen, representing the length of a carpet that can be positioned anywhere on the line.
Return the maximum number of white tiles that can be covered by the carpet.
Constraints:
tiles.length
tiles[i].length
carpetLen
The tiles are non overlapping.
You are given a two dimensional integer array tiles, where tiles[i] carpetLen, representing the length of a carpet that can be positioned anywhere on the line.
Return the maximum number of white tiles that can be covered by the carpet.
Constraints:
tiles.length
tiles[i].length
carpetLen
The tiles are non overlapping.