Single Choice 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,886 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

Explanation

n-1

Share This Question

Challenge a friend or share with your study group.