Sail E0 Webinar

MCQs

Total Questions : 12 | Page 2 of 2 pages
Question 11. What are double and single threaded trees?
  1.    when both left, right nodes are having null pointers and only right node is null pointer respectively
  2.    having 2 and 1 node
  3.    using single and double linked lists
  4.    using heaps and priority queues
 Discuss Question
Answer: Option A. -> when both left, right nodes are having null pointers and only right node is null pointer respectively


They are properties of double and single threaded binary trees respectively.


Question 12. What are the operations that can be performed on weight balanced tree?
  1.    all basic operations and set intersection, set union and subset test
  2.    all basic operations
  3.    set intersection, set union and subset test
  4.    only insertion and deletion
 Discuss Question
Answer: Option A. -> all basic operations and set intersection, set union and subset test


The specialty of a weight balanced tree is a part from basic operations we can perform collective operations like set intersection,
which helps in rapid prototyping in functional programming languages.


Latest Videos

Latest Test Papers