Contents

What is the time complexity for splitting the string into two new string in the rope data structure?
a) O (n2)                                               
b) O (n!)
c) O (log n)                          
d) O (1)

c

Which type of binary tree does rope require to perform basic operations?
a) Unbalanced                    
b) Balanced
c) Complete                         
d) Full

b

What is the time complexity for inserting the string and forming a new string in the rope data structure?
a) O (log n)                          
b) O (n!)
c) O (n2)                                               
d) O (1)

a

What is the time complexity for deleting the string to form a new string in the rope data structure?
a) O (n2)                                               
b) O (n!)
c) O (log n)                          
d) O (1)

c