Q61easyWhat does it mean if a Directed Graph is "Strongly Connected"?AIt is represented as a list.BEvery node has an edge to every other node.CThere is a path from every vertex to every other vertex.DIt has no cycles.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q62hardWhich technique is best for solving the Traveling Salesperson Problem (TSP) to find the absolute shortest path (ignoring time complexity)?ABinary SearchBBacktracking (or Brute Force)CInterpolationDGreedyCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q63mediumWhich data structure is a more memory-efficient alternative to a Segment Tree for simple **Prefix Sum** queries?AMax-HeapBTrieCFenwick Tree (Binary Indexed Tree)DDoubly Linked ListCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q64hardWhat is the Time Complexity of performing a DFS traversal on a graph with V vertices and E edges represented as an Adjacency List?AO(V + E)BO(E²)CO(V²)DO(V * E)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q65mediumA database query is running slow. You add an Index (a B- Tree). The search speed increases, but the storage space required for the database increases. This is a tradeoff between:AComplexity and Correctness.BRAM and Network.CP and NP.DTime and Space.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q66easyA graph is "Disconnected" if:AIt has no edges.BIt has a cycle.CIt is represented as a matrix.DThere is at least one pair of vertices with no path between them.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q67mediumIn Rabin-Karp, if the pattern hash is 45 and the current text window hash is 45, what is the next step the algorithm must take?ASkip to the next window.BRe-hash the entire text.CPerform a character-by-character comparison of the pattern and the window to confirm the match.DDeclare a match and stop.Check AnswerReveal Answer & ExplanationDiscuss on Board
Q68hardWhat is the **Space Complexity** of the KMP algorithm (excluding the input)?AO(M) (where M is pattern length)BO(N)CO(1)DO(N + M)Check AnswerReveal Answer & ExplanationDiscuss on Board
Q69mediumWhich algorithm is the best choice for finding the shortest path between a single source and all other nodes in a graph with negative edge weights?APrim's AlgorithmBBellman-Ford AlgorithmCKruskal's AlgorithmDDijkstra's AlgorithmCheck AnswerReveal Answer & ExplanationDiscuss on Board
Q70hardWhat is the time complexity of the Extract-Min operation in a Min- Heap with N elements?AO(N log N)BO(1)CO(log N)DO(N)Check AnswerReveal Answer & ExplanationDiscuss on Board