Q91hardWhat is the Space Complexity of an iterative implementation of Binary Search?AO(log N)BO(N)CO(1)DO(N log N)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q92easyWhen an algorithm is Θ(n log n), it means:AThe worst case is n log n.BBoth the upper and lower bounds are n log n (it is a tight bound).CThe algorithm is inefficient.DThe best case is n log n.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q93mediumIn a Circular Queue of size 5, if front = 4 and rear = 4 (full), and one item is dequeued, what is the new front?A-1B0C5D3Check AnswerReveal Answer & ExplanationDiscuss on Board
Q94hardWhat is the time complexity of a recursive function that calls itself twice with (n-1) each time? (e.g., f(n) { f(n-1); f(n-1); })AO(log n)BO(n)CO(n²)DO(2^n)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q95easyWhat is the Degree of a Leaf node in a tree?A1B0C2DInfiniteCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q96easyWhich notation is used to describe the Best Case scenario of an algorithm's growth?ALittle-o (o)BBig-O (O)CBig-Theta (Θ)DBig-Omega (Ω)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q97hardA developer believes their algorithm is O(1) because it doesn't have any loops. However, inside the function, they call list.contains(item) on a list of size n. What is the actual complexity?AO(log n)BO(n)CO(n²)DO(1)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q98mediumIn a mathematical Tree with N nodes, what is the exact number of edges required to keep it connected without cycles?AN + 1BNCLog NDN - 1Check AnswerReveal Answer & ExplanationDiscuss on Board
Q99easyWhat is the absolute prerequisite for an array before a Binary Search can be successfully executed?AThe array must contain only positive integers.BThe array must not contain duplicate values.CThe array size must be a power of 2.DThe array must be sorted in ascending or descending order.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q100easyWhat is the difference between a Linear and Circular Linked List?ALinear uses more memory.BCircular is only for numbers.CIn Circular, the last node points to the first; in Linear, it points to NULL.DCircular is faster for search.Check AnswerReveal Answer & ExplanationDiscuss on Board