Code Monkey home page Code Monkey logo

grocerymanager's Introduction

ECE4400_GroceryManager

Overview

The Grocery manger is developed as a project for ECE 4400 Data Structures, this system utilizes advanced data structures to facilitate the addition, deletion, and organization of grocery items, alongside tracking customer purchase history.

Features

  • Add Items: Add new grocery items to the inventory with details like name, category, expiry date, and price.
  • Remove Items: Remove items from the inventory or decrement their stock when needed.
  • Display Items: Items can be displayed by various criteria such as price, expiry date, and category.
  • Customer History Tracking: Track the history of customer purchases in a circular queue to understand customer preferences and purchase patterns.
  • Write to File: Generate a JSON file of the grocery inventory, making it easy to share or analyze the inventory data.

Data Structures Used

The system employs several key data structures to manage grocery inventory and operations efficiently:

  • Binary Search Tree (BST): Used to organize items by price and expiry date, allowing for efficient searching, insertion, and deletion based on these criteria.
  • Doubly Linked List (DLL): Facilitates the management of grocery items with operations such as addition, removal, and traversal of items in the inventory.
  • Circular Queue (CQ): Implements a fixed-size queue to track customer purchase history, showcasing the most recent purchases while maintaining a limited history size.

grocerymanager's People

Contributors

mj-mccarthy23 avatar davidguamandavila avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.