Astronomer Interview Question

2 leetcode problems. Columns with largest volume.