cann’t understand the question
Min Cost Permutation
Can you please give the question link
Hi,
You have to find the minimum cost where cost is the sum of multiplication of each number and the index in which it is present.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
the the answer given in test case is 40 which should be 5 4 3 2 1 and cost would be 35 not 40
I`ll let u know about how 40 is the correct output since I think the information provided is a little less.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.