...
October 3, 2023

GATE 2023

Question 15 The Lucas sequence Ln is defined by the recurrence relation: Ln = Ln-1 + Ln-2 , for n >= 3, with L1 = 1 […]
October 3, 2023

Nielit Scentist-B [02-12-2018]

Question 1 For the given recurrence equation T(n)=2T(n-1), if n>0. =1, otherwise A O(nlogn) B O(n2) C O(2n) D O(n) AlgorithmsRecurrence-RelationVideo-Explanation Question 1 Explanation:  T(n) = […]
October 3, 2023

GATE 2005

Question 7 The time complexity of computing the transitive closure of a binary relation on a set of n elements is known to be: A O(n) […]
October 3, 2023

Heap-Tree

Question 9 Which one of the following sequences when stored in an array at locations A[1],…,A[10] forms a max-heap? A 23, 17, 10, 6, 13, 14, […]
error: Alert: Content selection is disabled!!