Click here to Skip to main content
15,917,564 members

Comments by Member 13903102 (Top 5 by date)

Member 13903102 9-Jul-18 2:03am View    
i tried it with more strategy and what i found out is that i have to continue if the elements are in decreasing order or constant but this strategy also failing as is S=cdce and i change 2nd c it won't be optimal as changing 1st c to e gives the optimal answer ... i am still trying but can you tell me am i going in the right direction?? and also is merge sort is of any help here/?? and sorry for posting the complete question
Member 13903102 8-Jul-18 23:31pm View    
i can try my best!
Member 13903102 8-Jul-18 23:08pm View    
ok i will try my best and sorry i am just really new to codeproject so i asked a really bad question, will keep in mind and thanks for your help i feel motivated!
Member 13903102 8-Jul-18 22:27pm View    
just wanted a little hint for the character changing part and i am really new here didn't know much about how to ask a proper question sorry for that..
Member 13903102 8-Jul-18 22:24pm View    
i am just stuck with character changing part rest i can calculate but how to decide which character should i change to minimise? i just need a little hint in that direction and i will hopefully solve it...