← Samsung questions

Wire Cutting for Maximum Selling Price

Filed under Samsung

Given a wire of length N and an array of prices where prices[i] is the price of a piece of length i+1, determine the maximum value obtainable by cutting up the wire and selling the pieces. This is the…

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 Samsung questions

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