/Linked-List-in-C-

Primary LanguageC++MIT LicenseMIT

Linked List In C++

A simple command line implementation of a linked list which accepts several commands to add/remove and sort strings alphabetically.

Commands

  • GetLength Z: Returns the length of the linked list with all strings starting with 'Z'.
  • PutItem adam: Adds node named "adam" in appropriate linked list alphabetically.
  • PrintList: Prints the all the linked lists from 'A' to 'Z'.
  • GetItem cat: Returns true if "cat" is found, else returns error.
  • IsFull: Returns the status of memory available to use.
  • DeleteItem G: Deletes item 'G' from appropriate linked list.
  • MakeEmpty: Empties all linked lists so no nodes are present.
  • ResetList: Resets the configuration of GetNextItem.
  • GetNextItem J: Returns the next item in the linked list for 'J'
  • Quit: Quits the program.

LICENSE IS ATTACHED IF YOU WANT TO ADD TO THIS PROGRAM