Skip to content

Jerenyaoyelu/Ass2-COMP9024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All the work here are done by YAOYE(Jeren) LU

  • This file is in order to orient any potential readers to get start with this repository.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

This is a repository for the assignment of course COMP9024 --- Data Structure and Algorithms.

  • This assignment is asking us to implement a AVL tree and its basic functions such as insertion, deletion, etc.
  • Highlights:
    1. Implemented right rotation(O(1)) and left rotation(O(1)) to achieve single and double rotation(O(log(n))).
    2. Used stacking iterate AVLTree and generate an optimized Union tree of two given trees(O((m+n)log(m+n))).
    3. Used silding window to iterate two arrays at the same time to generate the intersected elements, by which, an intersection of two given trees(O(m+n+klog(k))) is successfully generated .
  • For any further specific requirements, please read the assignment2.pdf carefully.

About

Second assignment-AVL trees implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published