Miscellaneous On Data Structures - Study Mode

[#56] What is the running time of the Huffman algorithm, if its implementation of the priority queue is done using linked lists?
Correct Answer

(D) O(C 2 )

[#57] Running key cipher is harder to decipher than keyword cipher.
Correct Answer

(A) true

[#58] Including a parity bit along with the data surely detects the errors.
Correct Answer

(B) false

[#59] What is the time complexity for finding a Hamiltonian path for a graph having N vertices (using permutation)?
Correct Answer

(B) O(N! * N)

[#60] Which of the following algorithm can be used to detect a cycle in a singly linked list?
Correct Answer

(C) Floyd's algorithm