12-09-2015 05:04 PM
Ah, ok is min and max int value. Really thank you.
12-09-2015 05:04 PM - edited 12-09-2015 05:07 PM
@crisdragon wrote:
Your code is awesome but i dont understand -infinity.
What part of -infinity don't you understand?
(What it means? How to make it? Why -Inf and not something else? You could also use NaN, might be better....)
12-09-2015 05:06 PM
That should do the trick
12-09-2015 05:56 PM
Sorting array without Sort 1d Array will be easy like MAX, MIN?
12-09-2015 07:04 PM - edited 12-10-2015 10:25 AM
It'll be a little harder because the output will have more than just two elements. Just go to Wikipedia and look up sorting algorithms. There are plenty.
Since this is a new question, you should start a new thread.