You are viewing a single comment's thread. Return to all comments →
Question says you have to make exactly one change even if you are getting best possible solution without changing it.
So in case you are getting best possible solution without changing anything you have to make one change.So your ans becomes bestPossibleAns-1
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Pairs
You are viewing a single comment's thread. Return to all comments →
Question says you have to make exactly one change even if you are getting best possible solution without changing it.
So in case you are getting best possible solution without changing anything you have to make one change.So your ans becomes bestPossibleAns-1