Skip to content

arunbalaji91/smooth-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

# smooth-sort
## STEPS: 1. insert  2. dequeue

## INSERT:
  1.1  if LN(k) + LN(k+1) = LN(k+2)
        reheap (k, k+2)
  2.1  else 
          if k == 1
              new num's k = 0
          else
              new num's k = 1
  3.0  sort the roots

## DEQUEUE:
  loops
    if did sort the roots
        reheap
  
  
  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages