Astronomer interview question

2 leetcode problems. Columns with largest volume.