Question
Which sorting algorithm is the most efficient for large
datasets and uses a divide-and-conquer approach?Solution
Merge Sort is a divide-and-conquer algorithm that divides the dataset into smaller subarrays, sorts each recursively, and merges them back to form a sorted array. Its time complexity is O(n log n) in all cases, making it highly efficient for large datasets.Advantages of Merge Sort include:
- Stability: It maintains the order of equal elements.
- Predictable performance: Consistent time complexity across best, worst, and average cases.
- Handles large datasets effectively, especially when external memory (e.g., disk storage) is involved.
Which of the following Statements about IREDA is/are True?
I- It is registered as Non-Banking Financial Company (NFBC) with Reserve Bank of India...
Which of the following statements about Prompt Corrective Action is/are True?
I-Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Prompt Corrective Action F...
Which of the following Statements about Multiplier Effect is/are True?
I- When the government spends a rupee, overall income rises by a multiple ...
When Government expenditure is more than income, through which of the following ways, it does the deficit financing?
(1) From Banks
(2) Fr...
Who among the following is not one of the eligible beneficiaries of PMUY?
Consider the following statements regarding Phase II of the Swachh Bharat Mission (Grameen) [SBM (G)]
1) The program will be implemented...
What is the basic difference between Gross NPA and Net NPA?
I- Gross NPA is the total of Bank loans and Net NPA is the total of all kinds of loan...