Maximum Height by Stacking Cuboids

Maximum Height by Stacking Cuboids - Coding Problem | K5kC