Skip to content

Implement Google Search engine simulator using MaxHeap and Priority Queue

Notifications You must be signed in to change notification settings

trinwin/GoogleSearchSimulator-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoogleSearchSimulator v1

Google's search engine is a powerful tool and I want to create a simulator Google Search Engine Results Page (SERP) using Heap Sort for the following two major features

  1. For each search keyword/term, display only the top 10 priority search result items/links based on the PageRank.

  2. You have a billion google searches a day, design a data structure which lets you pull out the top 10 unique ones at the end of the day.

What I Learned

  • Implemented Max-Heap Priority Queue
    • Max-Heapify()
    • Build-Max-Heap()
    • Heapsort()
    • Max-Heap-Insert()
    • Heap-Extract-Max ()
    • Heap-Increase-Key()
    • Heap-Maximum()
  • Use jsoup Web Crawler to collect research results

UML Diagram

PA1-UML-Diagram

Plan for GoogleSearchSimulator v2

  • Improve the performance of the application using BST, Bucket Sort and Quicksort
  • Add new features to the app

About

Implement Google Search engine simulator using MaxHeap and Priority Queue

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages