Skip to content

Laboratories for Algorithms & Data Structures with: OOP, overloading operators, template, AVL tree.

Notifications You must be signed in to change notification settings

gzub04/Algorithms_and_Data_Structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EADS

Project created for Algorithms & Data Structures classes at Warsaw University of Technology.
Most noteworthy is task 3 with an AVL tree.

Lab 1

Create a Sequence class with template <typename Key, Typename Info> with the following methods:

  • shallow and deep copy
  • operator=
  • merging of two sequences
  • insert at end
  • print sequence
  • reset sequence

Lab 2

Create a Ring buffer with template <typename Key, Typename Info> with the following methods:

  • addNode
  • iterator class inside of Ring class, that will have the following
    • getKey, getInfo
    • iterator++, ++iterator
    • iterator-- and --iterator

Lab 3

Create an AVL tree dictionary with template <typename Key, Typename Info> with the following methods:

  • insert new entry
  • remove entry
  • search and display entry
  • print whole tree
  • show all in order

About

Laboratories for Algorithms & Data Structures with: OOP, overloading operators, template, AVL tree.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages