Space and time analysis of Insertion Sorting-1 | Analyzing an algorithm |Data Structure & Algorithms

preview_player
Показать описание
#Gatecs #Analyzing an algorithm #DataStructures #Correctness #Appliedroots #Gatecse
Рекомендации по теме
Комментарии
Автор

where is the explanation of line 5, 6 and 7.And I am in doubt that comment line also executes?

techpriya
Автор

That is well explained thank you for sharing🌟

laraibadeel
Автор

well, actually the first line is executed n-1 times(for smaller n) and n times for the huge amounts of n(when the complexity analysis matter) due to the big O property in mathematics. I am writing this because you did not cover why it executes n times well.

ENTJ
Автор

3:40 Comments DO NOT get converted to the machine language.. so those DO NOT get executed by the CPU.

SarSame-bg
Автор

I like you, you helped me understand. Thank you so much.

Rawoonahcool
Автор

Thank you for the highly informational lectures! In this algorithm, can you please throw some light what portion is stored/computed in cache? Just curious to know how cache and RAM differ as in usage.

sreepras
Автор

Hii Verma sir I request you to please make a video how to prepare for gate 2022 after analysing the condition of gate 21 paper?? What are the things to be changed while preparation so that we can tackle msq also in effective manner etc

Ankit-mqem
Автор

The comment in the code has a cost of 0 cause it is not being used

umutkayatuz
Автор

PLEASE TELL WHY DONT WE CONSIDE THE INDEX FROM 1 IF THE FIRST ELEM IS a[0]

_ombeeka
Автор

I'm confused. Why n-1 number of times?

Theshyvlogger
Автор

Everthing that you have taught is wrong over here

JakeCollinz