What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-19 20:10:04
what is the use of sentinels in merge sort
The use of sentinels in merge sort prevents us from needing to check to see if we have reached the end of either of the arrays being sorted. Merge sort can be performed without a sentinel, but an implementation of merge sort without a sentinel adds an add... Add solution