Skip to content

LambertWSJ/Modified-Merge-Sort

Repository files navigation

Modified Merge Sort

Divide

  • divide list to single node
  • fast-slow pointer divide list to single node
  • divide sorted list in list

merge

  • interval
  • head-tail
  • divide and conquer

Iterative merge sort interface

merge_sort_iter(node_t **list, divide_f divide , merge_f merge)

divide_f: divide list function

merge_f: merge lists function

example:

merge_sort_iter(&list, divide_to_sorted, interval_merge);

build

benchmark merge sort

make run

show merge sort example

make example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published