Data Structure Array MCQ Question #2711
MCQ Single Best Answer Not Set

QSuppose we want to arrange n numbers stored in an array such that all negative values occur such before all positive ones. Minimum number of exchange required in the worst case

ID: #2711 Array MCQ 2,853 views
Question Info
#2711Q ID
Not SetDifficulty
Array MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A n-1
  • B n
  • C n+1
  • D none of the above
Correct Answer: Option A

Explanation

n-1

Share This Question

Challenge a friend or share with your study group.