aliiimaher / Lazy-Hungry-Potato

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Java 100.0%