Rod Cutting Profit
Given a rod of total length `length` and an array `prices` where `prices[i]` is the selling price of a piece of length `i + 1`, return the maximum total revenue obtainable by cutting the rod into pieces with integer lengths.
Given a rod of total length `length` and an array `prices` where `prices[i]` is the selling price of a piece of length `i + 1`, return the maximum total revenue obtainable by cutting the rod into pieces with integer lengths.