Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

NelsonBN/algorithms-data-structures-shell-sort

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 

Repository files navigation

Algorithms and Data Structures - Shell Sort

Shell Sort is a generalization of Insertion Sort. It was created by Donald Shell in 1959.

Here an example of the Insertion Sort

Characteristics

  • Time complexity:
    • Best: Ω(n log(n)) -> Depends on the gap sequence
    • Average: Θ(n^(3/2)) -> Depends on the gap sequence
    • Worst: O(n^2) -> Depends on the gap sequence
  • Space complexity: O(1)
  • In-place
  • Unstable

Demos:

Demonstration

References

About

Algorithms and Data Structures - Shell Sort

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.