β
Correct Answer: (A)
o(n log n)
Explanation: as the main time taking a step is of sorting so it defines the time complexity of our code. so the time complexity will be o(n log n) if we use quick sort for sorting.
Explanation by: Mr. Dubey
as the main time taking a step is of sorting so it defines the time complexity of our code. so the time complexity will be o(n log n) if we use quick sort for sorting.
Discussion
Question Analytics
709
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
96%
Success Rate