Question
Which all statements are correct about
SortingSolution
Option 5: only b and d Explanation
- Bubble sort has O(n^2) as best case time complexity
- This statement is incorrect . The best case time complexity for Bubble Sort is O(n) , which occurs when the array is already sorted. In such cases, Bubble Sort can detect the sorted array early and terminate.
- Selection sort has O(n^2) as best case time complexity
- This statement is correct . Selection Sort always has a time complexity of O(n^2) , regardless of the initial ordering of the elements. This is because it always goes through the entire list to find the minimum element for each position.
- Insertion sort has O(n^2) as best case time complexity
- This statement is incorrect . The best case time complexity for Insertion Sort is O(n) , which occurs when the array is already sorted. In such cases, each insertion requires only one comparison.
- Radix sort has O(n+K) as best case time complexity
- This statement is correct . Radix Sort has a time complexity of *O(d(n + k))**, where d is the number of digits in the largest number and k is the range of the digit (base of the number system). In many cases, it is simplified to O(n + k) if the number of digits d is considered a constant.
- Selection Sort has O(n^2) as its best case time complexity.
- Radix Sort has O(n + k) as its best case time complexity
Post discontinuation of LIBOR, the RBI has proposed to revise the all-in-cost ceiling for ECBs to _______
Weighted average Cost of capital for Lavi Ltd. is 12%. Lavi Ltd. has issued equity worth Rs. 45 lakhs, 5% debt worth Rs. 15 lakhs and 6% preference sha...
An examination of a company's financial records to derive evidence which can be used in a court of law or legal proceeding is known as ________
Which of the following methods is not a method of quantitative control by RBI?
Under the Indian Trusts Act, 1882, when does the beneficiary's interest in the trust property vest? Â
Which segment of the debt markets has highest market capitalization?
Find the incorrect option regarding the elasticity of commodities?
What is the main goal of Organizational Behavior (OB)?
Deferred Tax Liabilities’ is shown under which of the following heads in a Balance sheet as per the format given in Companies Act, 2013?Â
The cost of an asset on 01-01-2002 is 5,00,000 and its life is 10 years with salvage value is zero. If it is sold on 31-12-2008 for 50,000 than calculat...