Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aliiimaher/lazy-hungry-potato

"Data Structures & Algorithms" course project, Fall 2022.
https://github.com/aliiimaher/lazy-hungry-potato

data-structures data-structures-and-algorithms heap heap-sort trie-tree

Last synced: about 6 hours ago
JSON representation

"Data Structures & Algorithms" course project, Fall 2022.

Awesome Lists containing this project

README

        

# Lazy-Hungry-Potato
"Data Structures & Algorithms" course project, Fall 2022.

### This project is written in java.

------

The thecnique which I used for handling this project is as below:

We need a min-heap for sorting all the restaurants that the user gave us input. Then when we call the queries, in addition to removing them from the heap and putting the n-called restaurant to a trie-tree, we also need to put them into a stack to protect the order of the algorithm we used.
**Note that removing from the min-heap is by calling the min-heapify function.**

Project