Computer Science · Sorting Algorithms
क्विक सॉर्ट की औसत-स्थिति समय जटिलता (average-case time complexity) O(n log n) होती है, लेकिन इसकी सबसे खराब स्थिति (worst-case) तब उत्पन्न होती है जब:
- 1विभाजन और विजय (divide and conquer) रणनीति विफल हो जाती है
- 2सरणी पूरी तरह से यादृच्छिक (randomized) है
- 3सरणी (array) पहले से ही क्रमबद्ध है और पिवट पहला या अंतिम तत्व है✓
- 4पिवट (pivot) हमेशा माध्यिका (median) होता है
सही उत्तर देखें
सरणी (array) पहले से ही क्रमबद्ध है और पिवट पहला या अंतिम तत्व है
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Sorting Algorithms?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Sorting Algorithms