williamfiset / Algorithms

A collection of algorithms and data structures
MIT License
16.84k stars 4.29k forks source link

Addition of FIFO (First-In-First-Out) Functionality #386

Closed AnaBeatrizMassuh closed 1 year ago

AnaBeatrizMassuh commented 1 year ago

Hello everyone! I've created this issue to propose the addition of FIFO (First-In-First-Out) functionality to the system. FIFO is a crucial feature that ensures the order of data processing, where the first item that enters the system is the first one to be processed. By implementing FIFO, we can enhance the efficiency and fairness of our system, particularly in scenarios where strict ordering is required. I believe this feature will greatly benefit our users and contribute to a more seamless user experience. Looking forward to discussing and collaborating on this idea with all of you! 😊

williamfiset commented 1 year ago

By FIFO, you mean a Queue data structure? There already exists 4 implementations in this repo:

https://github.com/williamfiset/Algorithms/tree/master/src/main/java/com/williamfiset/algorithms/datastructures/queue