Try to search your question here, if you can't find : Ask Any Question Now ?

Minimizing a number by performing a given operation

HomeCategory: stackoverflowMinimizing a number by performing a given operation
Avatarkundan asked 4 months ago

Suppose you are given a number N(N doesn’t contains 0 and is positive integer) and a number x (x lies b/w 1 to 9) and an operation :

  1. Append the number x to N ( x becomes the least significant digit of N), then remove a number from N so as to minimize the number.

What would be the minimum number possible and how to know which number should we remove so that the number get’s minimized.

1 Answers
Best Answer
AvatarFernando answered 4 months ago
Your Answer

13 + 5 =

Popular Tags

WP Facebook Auto Publish Powered By :