Skip to content

Sorting and search algorithms using complete work of Shakespeare.

Notifications You must be signed in to change notification settings

UsernameDiana/Algorithms_Shakespeare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 

Repository files navigation

Sorting in Shakespeare

We used Selection sort, Merge sort and Insertion sort algorithms to sort an array of complete Shakespeare work, sorted by word. To see how long the different algorithms sort, we messured time.

Searching in Shakespeare

We saved the words of complete Shakespears work in a Symbol table. The words are keys and the values are the numbers of occurence in the text. Here we used different implementations of Symbol table:

Linked Symbol Table, using a linked list-based Symbol table.

Array Symbol Table, using an array-based Symbol table and Flexible Array class.

Hashed Symbol Table useng hashing strategy.

Balanced Tree Symbol Table using balanced tree as red-black

About

Sorting and search algorithms using complete work of Shakespeare.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages