Selling Pieces of Wood

Selling Pieces of Wood - Coding Problem | K5kC