Domanda di colloquio di Google

Data Structures and Algorithms Questions

Risposte di colloquio

Anonimo

9 lug 2024

Describe the quicksort algorithm and implement it in your preferred language

Anonimo

15 lug 2024

In quick sort, the average case time complexity is O(nlogn). In this case, we must consider the left, the location, and the right . In an array, the beg position is regarded as left=location=0. the end is regarded as right .first we have to check the array from right to left. if the right is greater than the location then right=right-1.or if the right