Big-O Notation - For Coding Interviews

Big-O Notation - For Coding Interviews

NeetCode

1 год назад

423,366 Просмотров

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


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

Oleksandr Kukhalskyi
Oleksandr Kukhalskyi - 19.10.2023 20:19

I'm feeling so stupid, man. Looks like w/o basic algebra knowledges, there is no way to understand this...

Ответить
shawngeorge748
shawngeorge748 - 19.10.2023 08:17

well explained my fried, you summarised two weeks worth of lectures in 20 minutes thanks for this

Ответить
Thabhelo
Thabhelo - 14.10.2023 14:53

This guy is GOATed!

Ответить
Raluca Rwq
Raluca Rwq - 10.10.2023 00:33

you're the best, thank you!

Ответить
Arman
Arman - 08.10.2023 17:29

Thanks!

Ответить
Shaunak Sen
Shaunak Sen - 30.09.2023 12:08

best BigO notation explanation period.

Ответить
Devidas Gaikwad
Devidas Gaikwad - 25.09.2023 20:40

You are just Awesome!!!!

Ответить
Donquixote Rosinante
Donquixote Rosinante - 23.09.2023 07:00

can someone explain? when to put n*m instead n^2. in my understanding, they are both the same but has different emphasis? i am correct?

Ответить
Shreya Narayan
Shreya Narayan - 18.09.2023 13:12

Great content, ig while mentioning recursive algo having time comlexity O(c^n) you could have added that how after memoization we make it O(c.n)

Ответить
Nawal Khawar
Nawal Khawar - 04.09.2023 08:23

I have a quiz in an hour and this helped SO much?? Thank you!

Ответить
Gokhale Sadan
Gokhale Sadan - 03.09.2023 13:24

helpful

Ответить
Nischay Agrawal
Nischay Agrawal - 02.09.2023 13:25

Bruh how do you explain things so well? Like seriously...not everyone who knows dsa has the potential to lay things out so easily. Your explanation has helped me a lot in many problems. Thanks a bunch man. Thanks a bunch.

Ответить
Tejas Bachhav
Tejas Bachhav - 02.09.2023 02:29

thanks for the explanation!

Ответить
Auronedge Vicks
Auronedge Vicks - 31.08.2023 13:28

this supposed to be a tutorial or a pep talk? so many concepts and terms introduced in like a min

Ответить
Jack game
Jack game - 29.08.2023 16:24

so big o notation is just nested loop or not?

Ответить
Dan AAOA
Dan AAOA - 24.08.2023 09:04

AAOA-DJRs alorithims N Log N , O(2^N)-O(9^N) utilising AAOA-DJRs.

Ответить
Rajwan Ahmed
Rajwan Ahmed - 21.08.2023 12:24

Hi @NeetCode,
code NEET not working for lifetime access to all current & future courses. also, $169 from Bangladesh is very expensive, it's around 18500 BDT.

Ответить
César Boria
César Boria - 20.08.2023 15:02

Great, but I believe factorial should be under exponential.

Ответить
mon siw
mon siw - 17.08.2023 15:22

I can't open your site with code. Does it work?

Ответить
Aleksei Shkurin
Aleksei Shkurin - 13.08.2023 23:18

Definitely interested in the "math stuff"!

Ответить
Sparkle
Sparkle - 12.08.2023 21:45

You are an angel this was so helpful 🩷

Ответить
Mark Ganus
Mark Ganus - 05.08.2023 06:11

simple and to the point. worth checking over and over

Ответить
Yi ZHOU
Yi ZHOU - 21.07.2023 19:09

Love the way you explain things, so clear and creative and EASY to understand!!

Ответить
rocky
rocky - 10.07.2023 03:35

anyone have any thoughts about: (N * M) vs (N log M) + (M log M)

example: (linear search through M-sized array N times) vs. (binary search through M-sized array N times + overhead of sorting M-sized array)

i'm guessing it's about the relative size of M and N, but i can't wrap my head around it

Ответить
The Nature Cast
The Nature Cast - 06.07.2023 08:52

Thanks!

Ответить
Khalil Romdhani
Khalil Romdhani - 04.07.2023 17:21

I was diving through out a lot of video and I just get it here really awesome explanation

Ответить
cargouvu
cargouvu - 02.07.2023 05:49

What is heap? What happens when we heapify?

Ответить
Makyxyz
Makyxyz - 01.07.2023 16:22

Hi NeetCode! Super video, thank you! I have a question: it's importanto for faang interview to have in your skills the analysis of the recurrence relation to retrive big o complexity in recursive functions? Thank you

Ответить
Austin Townsend
Austin Townsend - 21.06.2023 23:13

We love you ❤️

Ответить
LakeWobegonesBest
LakeWobegonesBest - 15.06.2023 05:05

I know nested loops are O(n**2) but would two loops iterating n elements be the same, or 2O(n**2) which would be reduced to O(n)?

Ответить
nick@reaper
nick@reaper - 11.06.2023 14:46

👌

Ответить
Gho$t
Gho$t - 30.05.2023 20:28

Which program do you use for your drawings?

Ответить
Eldar Mammadov
Eldar Mammadov - 26.05.2023 00:36

Just great

Ответить
Alek Jałtuszyk
Alek Jałtuszyk - 16.05.2023 23:40

damn this is a really good video. 20 min, and i understand it :)

Ответить
Marcus Garner
Marcus Garner - 14.05.2023 16:44

Thank you for a great explanation of Big-O, very helpful! <3

Ответить
Tanoy Bhowmick
Tanoy Bhowmick - 03.05.2023 23:05

Great content

Ответить
Tanoy Bhowmick
Tanoy Bhowmick - 03.05.2023 22:45

Thanks

Ответить
Fred Teixeira
Fred Teixeira - 29.04.2023 19:24

Sqrt time is used with prime and composite numbers calculations. It might be used in cryptography

Ответить
Виталий Б.
Виталий Б. - 25.04.2023 23:04

Thanks

Ответить
Виталий Б.
Виталий Б. - 25.04.2023 22:33

THANKS FOR GREAT EXPLANATIONS! I have become a sponsor of the channel now.

Ответить
Fudgy McFudgerson
Fudgy McFudgerson - 25.04.2023 19:54

"if you're not smart enough or dont care"

I do care...
but I dont understand...
and I think im smart enough...

I will learn das math...

Ответить
Shaddymaze
Shaddymaze - 30.03.2023 01:23

So well explained! Keep up the great vids!

Ответить
Jayesh Panchal
Jayesh Panchal - 25.03.2023 05:46

Possibly the simplest way of explaining Big-O notations. Kudos.

Ответить
Ben Kogan
Ben Kogan - 18.03.2023 09:28

You should at least mention amortized time. Beginners often ignore this idea and will e.g. use a map when it is really not needed, thinking that it is just as efficient as an array lookup because both are O(1). They should know that maps have more overhead and have an amortized cost, which makes them much less efficient than arrays in most cases. Pushing to a list is also amortized constant time.

Ответить