We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Using calculus, find the maximum of the function by determining the derivative and setting to zero. This gives you k without having to loop any calculations.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #183: Maximum product of parts
You are viewing a single comment's thread. Return to all comments →
Using calculus, find the maximum of the function by determining the derivative and setting to zero. This gives you k without having to loop any calculations.