โ† OYO questions

Cutting a Rod

Filed under OYO

Given a rod of length N and a list of prices for each length from 1 to N, determine the maximum profit obtainable by cutting the rod into smaller pieces.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related OYO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.