





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Array benefits - ANSWER-It is better and convenient way of storing the data of same datatype with same size. It allows us to store known number of elements in it. Array Big-O runtimes (access, insert, search, delete) - ANSWER-access = O(1) insert = O(n) search = O(n) delete = o(n) Array disadvantages - ANSWER-- is a static Data structure -We must know in advance that how many elements are to be stored in array. Only elements of same data types can be stored in an array. We cannot store elements of multiple data types in a single array. Arrays - ANSWER-a collection of items stored in a contiguous memory location and addressed using one or more indices AVL trees - ANSWER-- Adelson-Velskii & Landis: Any pair of sibling nodes have a height difference of at most
Graph applications (Computer network) - ANSWER-- Local area network
RBT advantages - ANSWER-- operations are guaranteed to be O(log(n))