Filter interviews by
I applied via Recruitment Consulltant and was interviewed before Jan 2022. There were 2 interview rounds.
The time complexity of binary algorithm is O(log n).
Binary algorithm is a search algorithm that divides the search interval in half at every step.
It is a very efficient algorithm with a time complexity of O(log n).
For example, if we have an array of 100 elements, binary search will take at most 7 steps to find the element.
The time complexity of binary algorithm is much better than linear search which has a time complex
Worst case of an algorithm is when it takes the maximum possible time to complete.
The worst case scenario occurs when the input size is at its maximum
It is important to consider worst case complexity when analyzing algorithms
Examples include linear search on a sorted array and bubble sort
It depends on the specific algorithm and the size of the input data.
Different algorithms have different time complexities and may perform differently depending on the input size.
For example, quicksort is generally faster than bubblesort, but may perform worse on already sorted data.
Benchmarking and analyzing the specific use case is necessary to determine the fastest algorithm.
Top trending discussions
Communication test linguistics test
Write describtion of company
I applied via Naukri.com and was interviewed in Aug 2022. There were 2 interview rounds.
I applied via Referral and was interviewed in Apr 2022. There were 2 interview rounds.
Maths, logical reasoning, english
I applied via Naukri.com and was interviewed before Dec 2016. There were 6 interview rounds.
Demerger is the separation of a company into two or more independent entities. Market capitalization is the total value of a company's outstanding shares. Capital budgeting is the process of planning and evaluating long-term investment projects.
Demerger involves dividing a company's assets, liabilities, and operations into separate entities.
Market capitalization is calculated by multiplying the current share price by t...
Communication test linguistics test
TCS
Accenture
Wipro
Cognizant