Big O notation - Data Structures & Algorithms Tutorial #2 | Measuring time complexity

Big O notation - Data Structures & Algorithms Tutorial #2 | Measuring time complexity

codebasics

4 года назад

694,812 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Dee-Nelson
Dee-Nelson - 06.09.2023 22:55

what does a stand for in the equation a*n + b

Ответить
Mohan Datta Bayya
Mohan Datta Bayya - 26.08.2023 19:07

Thank you Sir

Ответить
Sabria Linton
Sabria Linton - 15.08.2023 15:34

SO helpful! Thank you so much.

Ответить
Altaye Zekariyas
Altaye Zekariyas - 19.07.2023 08:55

the best explanation i've seen by far

Ответить
Shivendu Kumar Gupta
Shivendu Kumar Gupta - 17.07.2023 15:44

What is actually means of order of n and log n sir please explain 🙏🙏

Ответить
JEVIKA KS
JEVIKA KS - 21.06.2023 06:12

in the dupicate sum because of break statement i think it will be O(n)..can someone clarify

Ответить
Md Faizan khan
Md Faizan khan - 02.06.2023 16:16

Helloooo

Ответить
Jaya Krishna
Jaya Krishna - 11.05.2023 15:26

Can you please let me know where can i practice the questions related to DSA in python

Ответить
Masoddin
Masoddin - 06.05.2023 11:42

I love education

Ответить
bensouda youness
bensouda youness - 09.04.2023 15:29

Please, could you add captions for deaf people 😊 it's a simple button 😉

Ответить
K.PRAVEEN KUMAR Vlogs
K.PRAVEEN KUMAR Vlogs - 03.04.2023 07:29

Sir you didn't explain the algorithm

Ответить
Mamadou Aw
Mamadou Aw - 26.03.2023 08:55

the best chanel I have ever encountered , you are the best . 💜💜💜

Ответить
Charlescino
Charlescino - 01.03.2023 05:32

Thank you!

Ответить
Varsha Rani
Varsha Rani - 14.02.2023 15:25

very well explained

Ответить
One love africa
One love africa - 14.02.2023 15:21

best explanation 🗽

Ответить
ABDUL MAZEED
ABDUL MAZEED - 21.01.2023 12:52

if 20 elements are their, then how iterations are possible ? .
i think 5 ,is it right

Ответить
Ni7ram
Ni7ram - 07.01.2023 03:22

very good ! thank you!

Ответить
kaleem ullah
kaleem ullah - 20.12.2022 00:26

bad explanation for last example

Ответить
Raj
Raj - 19.12.2022 02:25

Thank you so much sir for teaching, 😊
Done 👍👍

Ответить
Piladelak Yindeesap
Piladelak Yindeesap - 29.11.2022 04:10

Thank you so much for your explanation. I was struggling a lot for this big O notation in my uni class. your explanation is really clear and give me a fully understanding.

Ответить
Mysterious gamer
Mysterious gamer - 20.11.2022 15:17

took a little bit of time to understand but I succeeded (thanks)

Ответить
ousmane kaba
ousmane kaba - 17.11.2022 18:07

You are the best sir

Ответить
Anish Nehete
Anish Nehete - 01.11.2022 14:08

Amazing

Ответить
Abdarahmane Traore
Abdarahmane Traore - 14.10.2022 22:46

Super tutorial ! Will be cool if we can have the slides :)

Ответить
Relaxation Videos
Relaxation Videos - 01.10.2022 15:06

Thank you!

Ответить
Adebiyi Emmanuel
Adebiyi Emmanuel - 30.09.2022 13:19

Which book can you recommend I read for data structures, algorithms?

Ответить
sai 1919
sai 1919 - 28.09.2022 18:25

im trying learn python to become developing side after complete basic what in need to learn sir any suggession

Ответить
dailymemes_514
dailymemes_514 - 26.09.2022 20:57

Hindi me boliye sir samajhna kaam hai

Ответить
Naagesh K
Naagesh K - 19.09.2022 13:54

It's truly wonderful explanation 🙏 thank you so much 👍

Ответить
Mkhwanazi cebo
Mkhwanazi cebo - 13.09.2022 18:42

This was a good tutorial

Ответить
Jeretin
Jeretin - 12.09.2022 18:35

Thank you, I think I might have understood it now. You might have saved my school task.

Ответить
Alex D
Alex D - 12.09.2022 13:22

In 20 years of programming, I have never needed this in practice.
Just recognizing nested loops is often enough. In practice you always need to find if it is acceptable, because often it is not an issue! and if it is, then simply iterate. When interview questions are about this, then I know it is not a experienced developer. We can see that in this in this video as well:
using range(len(numbers)), and iterate by index is not something a python developer should do. ever.

Ответить
Someone Else
Someone Else - 04.09.2022 21:51

why the fuck do so many people call their fucking function foo its such a dumb name

Ответить
craig nyatondo
craig nyatondo - 01.09.2022 11:50

Thank you, you're a good teacher!

Ответить
Ayman M. Soliman
Ayman M. Soliman - 26.08.2022 11:23

Thanks for the explanation it's really simple and straightforward! However, I don't think the given example for the binary search is a worst case scenario example as we didn't cut the array into halves until we didn't find the desired element and reached the last element of the array.

Ответить
Salahuddin Bangash
Salahuddin Bangash - 12.08.2022 16:46

Maths now I can understand things 💪.

Ответить
Fahad Javaid
Fahad Javaid - 02.08.2022 18:47

very well explained

Ответить
wisdom wizey
wisdom wizey - 01.08.2022 19:43

Thanks a whole lot, but please add “space complexity” in your title for others to know you gave a touch on that

Ответить
shahzeb ahmedkhan
shahzeb ahmedkhan - 01.08.2022 02:10

You should allow subtitles for the video. Big help sometimes

Ответить
Abdurrahman Shabbir Ahmed
Abdurrahman Shabbir Ahmed - 31.07.2022 00:33

Sir, your python training classes which is launched last month is more than amazing, thanks for your great efforts. Just asking, can I get a tutorial series on data structures for C language.

Ответить
Aarushika
Aarushika - 25.07.2022 12:32

sir if n=7 then log7base2 becomes 2.8 that means we requires 3 iterations?

Ответить
Siddharth Barthwal
Siddharth Barthwal - 17.07.2022 16:09

Unable to understand "1=n/2^k"

Ответить
Mohammad Shahinul Hasan
Mohammad Shahinul Hasan - 15.07.2022 06:27

def get_squared_numbers(numbers):
squared_numbers = []
for n in numbers:
squared_numbers.append(n * n)
return squared_numbers

numbers = [2, 3, 4, 5]
print(get_squared_numbers(numbers))

What's wrong with the get squared number functions?
It's not returning square numbers in list.

Ответить
PRANAV
PRANAV - 10.07.2022 14:05

Can you explain what is logn and order of n?

Ответить
mehedi Afrin
mehedi Afrin - 08.07.2022 17:56

Nice vedio

Ответить
niyatha m
niyatha m - 06.07.2022 07:21

hi what is a in this equation {time = a*n + b}

Ответить