πŸ“Š Data Structure and Algorithms (DSA)
Q. A graph is said to be complete if there is no edge between every pair of vertices.
  • (A) true, false, true
  • (B) true, true, false
  • (C) true, true, true
  • (D) false, true, true
πŸ’¬ Discuss
βœ… Correct Answer: (B) true, true, false
πŸ“Š Data Structure and Algorithms (DSA)
Q. To find the predecessor, it is required to traverse the list from the first node in case of singly linked list.
  • (A) i-only
  • (B) ii-only
  • (C) both i and ii
  • (D) none of both
πŸ’¬ Discuss
βœ… Correct Answer: (C) both i and ii
πŸ“Š Data Structure and Algorithms (DSA)
Q. The complexity of the average case of an algorithm is
  • (A) much more complicated to analyze than that of worst case
  • (B) much more simpler to analyze than that of worst case
  • (C) sometimes more complicated and some other times simpler than that of worst case
  • (D) none or above
πŸ’¬ Discuss
βœ… Correct Answer: (A) much more complicated to analyze than that of worst case
πŸ“Š Data Structure and Algorithms (DSA)
Q. The Average case occur in linear search algorithm
  • (A) when item is somewhere in the middle of the array
  • (B) when item is not in the array at all
  • (C) when item is the last element in the array
  • (D) when item is the last element in the array or is not there at all
πŸ’¬ Discuss
βœ… Correct Answer: (A) when item is somewhere in the middle of the array

Jump to