in reply to Re^3: move all 0s in an array to the beginning keeping other elements order same
in thread move all 0s in an array to the beginning keeping other elements order same
Possibly the fact that sort internally uses a stable merge sort is an implementation detail, not a semantic guarantee. Specifying stable explicitly means that if the luck of implementation changes the semantics will still remain in tact.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: move all 0s in an array to the beginning keeping other elements order same
by Laurent_R (Canon) on May 05, 2014 at 06:09 UTC | |
by davido (Cardinal) on May 05, 2014 at 06:35 UTC | |
by ikegami (Patriarch) on May 31, 2014 at 04:58 UTC | |
by Laurent_R (Canon) on May 31, 2014 at 08:15 UTC |