Skip to content

Umair-Anwar/Grover-s-Sorting-Algorithm-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grover-s-Sorting-Algorithm-

Grover’s algorithm is an efficient algorithm for sorting, with big Ooh equals to square-root of ‘n’ (O(sqrt n)), where ‘n’ is number of entities in the list that is being to be sorted.

It is a MATLAB code. I have written this for the sorting of the numbers, that can be expressed in 3 bits when converted into binary representation. You can modify this code for higher number of bits using same methodology or using recursive function approach. There can be infinite long list of numbers in unsorted array(input).

Use

Provide an array in first line of main.m file.

About

Griver-s algorith is an efficient algorithm for sorting, with big ohhh equals to sqaure-root of n, where n number of entities in the list that is bieng to be sorted.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages