Тёмный

Deeply Understanding Logarithms In Time Complexities & Their Role In Computer Science 

Back To Back SWE
Подписаться 241 тыс.
Просмотров 297 тыс.
50% 1

Free 5-Day Mini-Course: backtobackswe.com
Try Our Full Platform: backtobackswe....
📹 Intuitive Video Explanations
🏃 Run Code As You Learn
💾 Save Progress
❓New Unseen Questions
🔎 Get All Solutions
Logarithms and logarithmic time complexities used to confuse me for a very long time since it was one of those scary things in math where you see a symbol and then you get scared that it is something complex.
Logarithms are very simple. At the most fundamental level, the logarithm asks us a question.
log(8) with a base of 2 asks me: "what do I need to power 2 by to get 8? The answer is 3. 2^3 = 8
log(100) with a base of 10 asks me: "what do I need to power 10 by to get 100? The answer is 2. 10^2 = 100
This generalizes us to understand that a log asks us...what do I need to power my base by to get the number we are taking a log against?
That is what the logarithmic expression evaluates to.
Also, if we have 8 and a log base of 2, we can halve 8 3 times. 8 - 4 - 2 - 1 before we get to a 1 and we cannot cut in half anymore.
In standard mathematics, it is assumed that the base is a base of 10.
In computer science, the base is almost always 2. We will see why.
Where We See Logs In Computer Science:
Levels In A Binary Tree
In general, a binary tree with n nodes will have at least 1 + floor(log_2(n)) levels
When we do something like a tree traversal or heap insertion or removal this is why we use a bound of O(h) which for a balanced binary tree really means O(log(n)).
We will traverse at most a log amoung of levels in the asymptotic sense since that is our tail behavior. Our asymptotic behavior is logarithmic.
Merge Sort & Quicksort
In mergesort, we can only cut the input in half up to log(n) times.
Same for quicksort.
Each sorting algorithm will have log(n) levels of work roughly and then the question becomes what amount of work do we do in each of those levels.
Binary Search
In a binary search, we cut our search space in half every operation based on some predefined searching criteria we define for narrowing search space.
We can only cut our search space in half up to log(n) times.
The logarithm is critical for all of these applications since the question it asks is exactly what we are interested in.
++++++++++++++++++++++++++++++++++++++++++++++++++
HackerRank: / @hackerrankofficial
Tuschar Roy: / tusharroy2525
GeeksForGeeks: / @geeksforgeeksvideos
Jarvis Johnson: / vsympathyv
Success In Tech: / @successintech

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,1 тыс.   
@BackToBackSWE
@BackToBackSWE 5 лет назад
Table of Contents: Logarithms Matter 0:01 - 0:44 The Fundamental Question We Are Asking 0:44 - 3:34 The Logarithm: Minimum Levels In A Binary Tree 3:34 - 4:52 The Logarithm: Merge Sort Levels 4:52 - 7:09 The Logarithm: Binary Search 7:09 - 9:07 Summarizing Why A Logarithm Is Important 9:07 - 9:46 Wrap Up 9:46 - 10:05 Sort of Mistake At 9:39 -> It can mean many more things hence my * I added. It can be insertion into a binary heap (where we bubble an element up or down doing log() work), it can mean binary search, it can mean splitting of input for sorting, etc. etc. Had to clarify and not assume people knew what I meant. If you know what a logarithm means then you don't need to memorize some rules (some you will need to know if you are doing calculus). The rules come from the logic and questions that we are asking.
@MrKishorebitta
@MrKishorebitta 5 лет назад
Hello, Thank you for uploading valuable videos. I have one query. I have just started EPI. how long did you take to complete the entire book for first time? If you follow any strategy ,can you please let me know it?Is there any way to contact you through email?
@BackToBackSWE
@BackToBackSWE 5 лет назад
@@MrKishorebitta about a week or so
@MrKishorebitta
@MrKishorebitta 5 лет назад
@@BackToBackSWE about a week? looks like u spent more than 12 hrs per day on that book.
@BackToBackSWE
@BackToBackSWE 5 лет назад
@@MrKishorebitta :)
@VN-it9tb
@VN-it9tb 4 года назад
Man this video is worth 68 college slides about time complexity
@aleyummusic
@aleyummusic 5 лет назад
This is without a doubt the best and clearest explanation I've ever seen!
@BackToBackSWE
@BackToBackSWE 5 лет назад
hey, oh...check out my new mergesort video. Just put it out. I think it hammers the point home.
@adarshsharmanit356
@adarshsharmanit356 5 лет назад
@@BackToBackSWE Awesome !! The best video on 0{logn)
@BackToBackSWE
@BackToBackSWE 5 лет назад
@@adarshsharmanit356 thx
@supastar25
@supastar25 4 года назад
Definitely the best
@rorydaines3176
@rorydaines3176 4 года назад
Kind of blown away at how amazing this was explained.
@laleen123
@laleen123 4 года назад
This is by far the clearest explanation of log(n). The clouds just parted, I'm basking in that divine light of knowledge. Thank you.
@BackToBackSWE
@BackToBackSWE 4 года назад
may you flourish
@vineetverma6645
@vineetverma6645 4 года назад
AAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaAAAAAAAAA(divine music plays)
@ericabutts2906
@ericabutts2906 3 года назад
Im feeling that euphoria right now
@reaper9271
@reaper9271 11 месяцев назад
Holy shit me too
@NeverisQuiteEnough
@NeverisQuiteEnough 3 года назад
I have a math degree and never thought of it as cutting into parts, great insight and very helpful!
@bogomilstoynov8405
@bogomilstoynov8405 3 года назад
My math teacher couldn't teach me in 5 years what you managed to explain in a 10min video, you da man!!
@Ritesh_2401
@Ritesh_2401 2 года назад
LOL, same brother utube teachers are genius
@hamzamusse3846
@hamzamusse3846 4 года назад
2 minutes in and my mind is blown. I knew there was something about Log(n) that was being held a secret!! This explanation--wow I actually have no words. THANK YOU!!!!!!
@BackToBackSWE
@BackToBackSWE 4 года назад
sure haha
@yr1520
@yr1520 5 лет назад
Thinking of a base 2 log as "how many times can I divide a number by 2 until I get to 1" makes so much more intuitive sense than how I used to think of it "to what power can I raise 2 in order to get this number."
@BackToBackSWE
@BackToBackSWE 5 лет назад
Yeah Think of 2 as halving, think of 3 as thirding, think of 4 as fourthing, think of 10 as tenthing...and so on.
@abhishekbag9612
@abhishekbag9612 4 года назад
This explanation has finally got rid of the confusion i always ended up having while writing down the time complexity. I cannot thank you enough man. This video is a game changer for me. Thanks a lot.
@BackToBackSWE
@BackToBackSWE 4 года назад
nice
@thepetrichor443
@thepetrichor443 5 лет назад
My prof tried explaining this last class, and literally every student was so confused on it. Im so glad i found this video. thank you so much
@BackToBackSWE
@BackToBackSWE 5 лет назад
ye, welcome
@philipskeen8199
@philipskeen8199 11 месяцев назад
I attend a top 25 university and the CS professors here are unable to explain this material as succinctly and easily as you. Many thanks!
@BackToBackSWE
@BackToBackSWE 11 месяцев назад
Happy Halloween 🎃 Thank you for your kind words, philipskeen! You get 25*2 treats - 50% Off our exclusive lifetime membership use the code SPOOKY50 - backtobackswe.com/checkout?plan=lifetime-legacy&discount_code=SPOOKY50
@grippnault
@grippnault 9 месяцев назад
This has to be one of the most helpful, easy to understand, and most significant CS/CE tutorials I've ever watched. Thank You! Wow, it took me 4 years to come across this video. God Bless You Sir!
@youtubeaccount0x073
@youtubeaccount0x073 5 лет назад
This was the loveliest explanation, I’m just a freshman trying to do good on the AP CS test in high school
@BackToBackSWE
@BackToBackSWE 5 лет назад
Nice. Hey, my advice to you (what I'd tell myself). Get very good at programming. High school will likely come easy to you. Screw all the rest...just try to get straight A's and grasp all subjects (especially math). It only gets harder in college. Try getting into the best college you can humanly get into. Don't stress too hard since state schools are still huge and awesome, but it definitely helps when a name is behind you during applications for job, etc. BUT...focus on this...get good...great...at programming and using your brain to come up with solutions. That's all. Stay fit...hit the gym...and BE A SOCIAL HUMAN. It is hard for most CS majors but make your best efforts to have as many friends & meaningful relationships in your life as possible. We are humans with feelings and emotions...not robots...this is something I didn't understand until about 2 years ago. But yeah...find your programming niche...try all the stuff (web, backend, frontend, etc.) and find what holds your interest. And...yeah...that is my advice. These Leetcode problems are kind of detached from reality but are crucial to get a job at a big SWE company at the time of this comment's writing. Just brush up on these as well but..yeah. Get good as shit at programming and build stuff for fun. Then when you really need to step up to the plate when you are in college you have the skills to start anything around...AND all the people around you will be smart too so...yeah...cool stuff can happen. Ok, rant over. I could say more but I need to achieve more to say it so I'm not just blowing hot air.
@hacker-7214
@hacker-7214 5 лет назад
@@BackToBackSWE wish someone had told me this when i was in highschool.
@BackToBackSWE
@BackToBackSWE 5 лет назад
@@hacker-7214 yo
@hacker-7214
@hacker-7214 5 лет назад
@@BackToBackSWE right now im a sophomore majoring in cs. At a top 50 cs school US (because i didnt try hard in hs, bad grades low test scores). Anyways your videos are helping me a lot. Im starting to learn data structures even tho im late to the party (i have only been coding for the past year, started coding freshman year in college). I am working hard to get an intership.
@BackToBackSWE
@BackToBackSWE 5 лет назад
@@hacker-7214 nice, hey
@traysonkelii7062
@traysonkelii7062 4 года назад
I wish you were around during my undergrad, you always provide the cleanest examples to complex CS subjects. Keep doing your thing bro!
@BackToBackSWE
@BackToBackSWE 4 года назад
yup
@raymondoyinlola7765
@raymondoyinlola7765 4 года назад
we did this way back in junior school mathematics in Nigeria. I never knew it would turn out to be an issue for grown ups. My love for coding brought me here. Thank you
@BackToBackSWE
@BackToBackSWE 4 года назад
great
@yagarf9510
@yagarf9510 5 лет назад
Amazing explanation! Just finished a lecture Involving sorting algorithms and couldent piece together where O(Log n) and O(n Log n) came from. After watching everything just comes together! Thank you so much!
@BackToBackSWE
@BackToBackSWE 5 лет назад
nice
@sonamverma1908
@sonamverma1908 4 года назад
this is all my concepts of algorithms have been wanting for so long.Thankyou for telling us more than "log is reverse of exponentiation"
@BackToBackSWE
@BackToBackSWE 4 года назад
sure.
@dominicaltamura6200
@dominicaltamura6200 4 года назад
You just explained something my professors have struggled to for years in 10 minutes. Thanks a ton!
@BackToBackSWE
@BackToBackSWE 4 года назад
sure!
@LayOffiKnoTaeBo
@LayOffiKnoTaeBo 4 года назад
You're a really good teacher. Thank you for breaking this down so simply! Please make more content :)
@BackToBackSWE
@BackToBackSWE 4 года назад
ok
@legion_prex3650
@legion_prex3650 4 года назад
Thank you, Sir! Fantastic explanation!
@BackToBackSWE
@BackToBackSWE 4 года назад
sure
@nicolasdiaz888
@nicolasdiaz888 3 года назад
This is the best explanation I've ever seen. Thank you so much :)
@makermark2159
@makermark2159 5 лет назад
This is a fantastic explanation and display of applications of logarithms in computer science. Thank you for taking the time to make this!
@BackToBackSWE
@BackToBackSWE 5 лет назад
sure
@himanshudas4173
@himanshudas4173 4 года назад
Finally! Extremely lucid explanation man! Loved it Thanks a ton!
@BackToBackSWE
@BackToBackSWE 4 года назад
great.
@yahyafati
@yahyafati 3 года назад
This is the video that I always wanted but didn't know how to search for.
@ariabakhtiar7998
@ariabakhtiar7998 3 года назад
I love that instead of focusing on code you focused on the concept.
@ianzhao8218
@ianzhao8218 5 лет назад
Like your video! You even make some business student such as me feels like learning computer science is such a fun thing.
@BackToBackSWE
@BackToBackSWE 5 лет назад
haha nice, do it!
@dansteryoo
@dansteryoo 4 года назад
dude i dunno how you're not blowing up.. you're literally the best teacher i've seen on youtube. thanks man!
@BackToBackSWE
@BackToBackSWE 4 года назад
thanks and things take time. I'm patient.
@abenakn
@abenakn 4 года назад
wow! Finally, someone speaking English when explaining big0 time complexities! No Joke! Thank you!
@BackToBackSWE
@BackToBackSWE 4 года назад
hey
@jacobrice2036
@jacobrice2036 4 года назад
It’s actually convenient when there is not a language barrier.
@davidrahabi
@davidrahabi 8 месяцев назад
Was struggling to understand the conceptual aspect of logs in my algorithms class, this video helped so much. THANK YOU!!
@koushikkou2134
@koushikkou2134 5 лет назад
From the deep down from my heart I thank you for eternity..
@BackToBackSWE
@BackToBackSWE 5 лет назад
May the internet flourish.
@大盗江南
@大盗江南 3 года назад
buddy, ur channel, honestly , is the best channel for IT peopel... great thanks from the bottom of my heart !
@danatbekzhassarov5078
@danatbekzhassarov5078 5 лет назад
It is indeed very clear explanation and on point. Thanks a lot! it really helped me
@BackToBackSWE
@BackToBackSWE 5 лет назад
sure
@marcellogozza8184
@marcellogozza8184 4 года назад
I don't ever comment on youtube videos. This might be the best video I have ever seen!! Thank you so much for your time and effort into making this video. I subscribed and donated to the fundraiser you're supporting. Wish I could do more, this video was worth gold to me!
@BackToBackSWE
@BackToBackSWE 4 года назад
Great haha
@magnusquist6214
@magnusquist6214 4 года назад
Duuuuude, you just helped me pass my exams! I am forever grateful!
@BackToBackSWE
@BackToBackSWE 4 года назад
U a beast
@vickysharma2949
@vickysharma2949 2 года назад
trust me, you explain things much better than my Professor. Keep up the good work bro!!
@BackToBackSWE
@BackToBackSWE 2 года назад
The validation matters the most!
@umairalvi7382
@umairalvi7382 5 лет назад
The explanation was just excellent bro Thank you so much
@BackToBackSWE
@BackToBackSWE 5 лет назад
sure
@dawid_dahl
@dawid_dahl 4 года назад
The fact that it's always base 2 implied cleared up a lot for me. Excellent video, thank you!
@BackToBackSWE
@BackToBackSWE 4 года назад
Sure
@alifiyahh6387
@alifiyahh6387 5 лет назад
this is the best thing that happened to me
@BackToBackSWE
@BackToBackSWE 5 лет назад
hahaha
@slxthkween
@slxthkween Год назад
Ive watched like 7 videos on this topic and yours was the first that made sense thank you!
@BackToBackSWE
@BackToBackSWE Год назад
Thank you! Please enjoy a special code from us - backtobackswe.com/checkout?plan=lifetime-legacy&discount_code=slxthkween 🎉
@souravsingh763
@souravsingh763 5 лет назад
I have maths backgroud even then i can't understand but Now I finally understand
@BackToBackSWE
@BackToBackSWE 5 лет назад
nice
@AD-bu9kc
@AD-bu9kc 8 месяцев назад
My GOD! SPEECHLESS, HE EXPLAINED IT SO WELL ! From Always getting lost on why Algo vids straight up put logs as complexity to understanding what is actually going on . Makes so much sense rn
@loremis
@loremis 4 года назад
You just compacted two weeks of studying into 10 minutes, thank you
@BackToBackSWE
@BackToBackSWE 4 года назад
great
@mtps9949
@mtps9949 2 года назад
thank you. this was my doubt for a long time. not many ppl have such good understanding of logs.
@BackToBackSWE
@BackToBackSWE 2 года назад
Keep hustling!
@warragamble
@warragamble 4 года назад
you're a legend mate!! thank you!
@BackToBackSWE
@BackToBackSWE 4 года назад
hey
@a.s7252
@a.s7252 2 года назад
Such a clear explanation! I was able to come to the conclusion before the end of the video.
@BackToBackSWE
@BackToBackSWE 2 года назад
Amazing! Subscribe to our DSA course with a flat 30% discount for more explanations and content b2bswe.co/3HhvIlV
@akshhay
@akshhay 5 лет назад
This is the best explaination I ever saw 😍💖🙏
@BackToBackSWE
@BackToBackSWE 5 лет назад
thanks
@FREDDYDOG911
@FREDDYDOG911 4 года назад
This is definitely the best channel I've come across for Data Structures and Algorithms. The videos are especially comprehensive and everything is explained in depth before moving to the next segment. Great work.
@BackToBackSWE
@BackToBackSWE 4 года назад
Thanks
@MrKiraBR
@MrKiraBR 4 года назад
You're amazing, thanks!!!
@BackToBackSWE
@BackToBackSWE 4 года назад
ye
@otaviocelestinodossantos1651
@otaviocelestinodossantos1651 5 месяцев назад
Man, this is the clearest explanation about log(n) i've ever seem. Thank you so much
@Gulshankumar-xc6ss
@Gulshankumar-xc6ss 5 лет назад
no doubt, just one word, AWESOME :)
@BackToBackSWE
@BackToBackSWE 5 лет назад
thanks
@Reaperman17
@Reaperman17 3 года назад
DUDE! This helped me so much!! Beginner coders of the internet appreciate you my dude!
@dariusdalim8780
@dariusdalim8780 5 лет назад
I almost never comment but this was an awesome video. Exactly what I was searching for
@BackToBackSWE
@BackToBackSWE 5 лет назад
Nice! If you liked this we have a active class running now, I'd love you to join if interested
@sowjanyav6570
@sowjanyav6570 4 года назад
Hats off, for explaining the mystery topic in a simple word "Halving"!! The best contribution on the RU-vid!
@BackToBackSWE
@BackToBackSWE 4 года назад
ye
@mahardinirizky
@mahardinirizky 5 лет назад
This is amazing omg ❤❤
@BackToBackSWE
@BackToBackSWE 5 лет назад
hey
@someshsarkar4927
@someshsarkar4927 4 года назад
This is the only channel you need to watch to learn Complexity analysis. Nice work!!
@BackToBackSWE
@BackToBackSWE 4 года назад
thanks
@youtubeaccount0x073
@youtubeaccount0x073 5 лет назад
Difference with nlogn and logn???
@BackToBackSWE
@BackToBackSWE 5 лет назад
what
@teamchoss
@teamchoss Год назад
This dude is insane with how clear and concise his explanation is. I was skeptical clicking on a 10 min video hoping to understand Logs but I can learn a thing or two about teaching from this.
@BackToBackSWE
@BackToBackSWE Год назад
Thank you 🎉 Please enjoy a special coupon from us - backtobackswe.com/checkout?plan=lifetime-legacy&discount_code=SUB 🚀
@odanabunaga2505
@odanabunaga2505 Год назад
dude you clearly have a talent to teach complex things in a simple to understand way. Great job 👍
@VoiceDisasterNz
@VoiceDisasterNz Год назад
I've been developer for a few years now and wanted to get a refresher. You broke this down and gave some really good ways of remembering things. Thanks!
@drunkmadala
@drunkmadala 4 года назад
Thanks,I never got this concept, but you made it very simply and clear.
@BackToBackSWE
@BackToBackSWE 4 года назад
great
@bridger4954
@bridger4954 3 года назад
I have struggled with math, and always was behind when it came to Computer Science things directly related to mathematics. My mind is fucking blown dude. It all makes sense, whenever I looked at Logs my eyes would glaze over and I'd struggle. You've cleared everything up for me, thank you.
@ChArham-bs1ne
@ChArham-bs1ne 2 года назад
This is the first time I have understood what logs are. Thank you so much. This is the best explanation I've ever seen. Keep it up
@meenakshisundaram1002
@meenakshisundaram1002 4 года назад
Thank you for this video. It will helps to understand the concept of logarithms in computer science.
@BackToBackSWE
@BackToBackSWE 4 года назад
sure
@sankeerthsharma7542
@sankeerthsharma7542 6 месяцев назад
one of the best explanation i ever heard regarding why do we have logarithmic time complexity......Great Explanation...Thanks
@blahdiblah2169
@blahdiblah2169 Год назад
Never in all my life have I ever heard anyone explain this so perfectly.
@BackToBackSWE
@BackToBackSWE Год назад
Thank you 🎉 Please enjoy a special coupon from us - backtobackswe.com/checkout?plan=lifetime-legacy&discount_code=SUB 🚀
@gloriaben01
@gloriaben01 3 года назад
I searched so many videos for Big O and understood everything except logs.. Thanks much. This is the best explanation ever.
@LuizEduardo-ke3be
@LuizEduardo-ke3be 8 месяцев назад
Omg! The perfect explanation. It's clear, simple, and understandable
@ilikechicken8403
@ilikechicken8403 6 месяцев назад
This explanation is pure art, super simple short and efficient yet effective explanation. Love you man and keep up the good work.
@DJalyssagail
@DJalyssagail 4 года назад
Crystal clear explanation. It's also great that you cut out parts while you write on the board. Most others don't do that! Thank you!
@BackToBackSWE
@BackToBackSWE 4 года назад
thanks
@JogoShugh
@JogoShugh 3 месяца назад
Within a minute or so, I knew this was going to be one of the best explanations I have seen or read. Thanks!
@JogoShugh
@JogoShugh 3 месяца назад
I've been reading Grokking Algorithms 2nd Edition, and found your explanation better. Though, I love the book too." One thing that bothers me in most explanations, including in GA2ndEd, is that they rarely deal with the case where the item you are looking for is the last one. In your example, of 1, 2, 3, 4, 5, 6, 7, 8 if we are looking for "8", and using the floor division approach (which GA2ndEd uses) we start with index 3, too low. Next we look at "5" within 5, 6, 7, 8. 2nd attempt, too low. Next we look at 7 within 7,8. Third attempt, and still too low. Now, unless we know ahead of time that the item we're looking for is guaranteed to be in the set, then we must make a 4th comparison to verify that 8 is indeed the last available item to examine. The book says it is going to explain this in chapter 4 (I'm only on 3) as to why constants are not used in Big O notation, but I just wish they and others would note this nuance when the list of items is a power of 2.
@osharedayz3762
@osharedayz3762 15 дней назад
Wow! Excellent explanation. Thank you so much for illustrating the idea behind the math form multiple perspectives.
@kamalapriyass2608
@kamalapriyass2608 2 месяца назад
This exaplanation is awesome, wonderful. Thank for the wonderful service!!
@glennmendonza2304
@glennmendonza2304 4 года назад
This has got to be the best explanation. This explains the time complexity of merge sort and quick sort as well. Thanks a lot!!!
@BackToBackSWE
@BackToBackSWE 4 года назад
thanks
@susanthomas2317
@susanthomas2317 3 года назад
This is the best video to explain nlogn and logn time complexity.i was confused for over a year.
@mohamedmeghawry6131
@mohamedmeghawry6131 4 года назад
Thank you for the very clear explanation. You saved my allot of time :)
@BackToBackSWE
@BackToBackSWE 4 года назад
sure
@Wallstreetavarice
@Wallstreetavarice Год назад
YES. This is why profs can't teach most of the time. They're so smart and have understood this on a deep level for so long, that the obvious explanation of how things work just eludes them. This makes so much sense and just gets right to the heart of what is going on. Thank you!
@yanistancheva3076
@yanistancheva3076 3 года назад
Watched an hour lecture and couldn't understand a thing. Watched 10 min of this video and is now all clear. Thank you
@BackToBackSWE
@BackToBackSWE 3 года назад
sure
@whiskeydonald4907
@whiskeydonald4907 4 года назад
I'm Sold. Best Explanation I've heard so far!
@BackToBackSWE
@BackToBackSWE 4 года назад
thx
@annareichelt5997
@annareichelt5997 2 года назад
Thank you for making me understand something countless teachers and tutors failed to do.
@BackToBackSWE
@BackToBackSWE Год назад
Happy to help!
@AhmedMohamed-ro5yl
@AhmedMohamed-ro5yl 4 года назад
i would like to thank you too much for all this illustrating. i really appreciate this. thank you from Egypt
@BackToBackSWE
@BackToBackSWE 4 года назад
sure, yo, from America
@sed8337
@sed8337 4 года назад
Love it. Great explanation. Clear and concise. Thank you
@BackToBackSWE
@BackToBackSWE 4 года назад
sure
@hoony30
@hoony30 3 года назад
this is unbelievable.. literally the best video I've ever seen
@BackToBackSWE
@BackToBackSWE 3 года назад
Haha glad you liked it!
@mahjongtiles8389
@mahjongtiles8389 3 года назад
At last I got the *intuitive* explanation of logarithm which is that it asks a question that can be asked in following ways: 1. How many times can you divide the input no. by the no. in the base so that you reach 1? 2. How many times you need to multiply the base no. so that you get the no. in the parentheses? Both questions are essential to get a complete picture of logarithms. Without the 1st question, I don't think that anyone can understand sorting and searching algorithms that have logarithmic complexity. Enlightening explanation. Thanks.
@RyanFromUltrasound
@RyanFromUltrasound 4 года назад
I spent last week miserable because I could not understand an explanation of logarithms that I payed money for. This was a much more effective explanation than 'premium' paid content. Well done.
@BackToBackSWE
@BackToBackSWE 4 года назад
great to hear! What did you buy lol
@rahulc480
@rahulc480 2 года назад
You helped me solve a lot of questions I had for so long. Simple and crisp !! Thank you !!
@BackToBackSWE
@BackToBackSWE 2 года назад
Thank you, glad you liked it 😀 Do check out backtobackswe.com/platform/content and please recommend us to your family and friends 😀
@bh3302
@bh3302 Год назад
Up to this point, I was always confused about this topic. Thank you so much for making things finally clear.
@BackToBackSWE
@BackToBackSWE Год назад
glad it helped. let us know what you think of the free 5 day course - backtobackswe.com/
@evandeubner6240
@evandeubner6240 3 года назад
"one of those scary things in math where you see a symbol and then you get scared that it is something complex." As I get further and further into my journey with code, I realize that almost everything that seemed really difficult was only that way because I assumed it was too difficult. Every time I stumble with a concept I am shocked at how simple it actually is. This understanding has propelled my learning abilities to new heights as I no longer assume I can't learn something. Thanks so much for this amazing straight to the point video. Subscribing for sure.
@newtonpermetersquared
@newtonpermetersquared 3 года назад
Dude, this explanation was as CLEAR AS WATER... After many years in the Comp Scie world, I finally truly understand logarithmic complexities
@areejazzam2680
@areejazzam2680 2 месяца назад
I learn Computer Science & I have a Data Structure exam , you just made my life easier thank you
@sanjeevsiva17
@sanjeevsiva17 5 лет назад
Needed this, patience - > this channel will go places!
@sanjeevsiva17
@sanjeevsiva17 5 лет назад
PS : Been trying to understand what is going on with this logarithm bullshit ever since high school. Now it's not bullshit anymore
@BackToBackSWE
@BackToBackSWE 5 лет назад
thanks
@BackToBackSWE
@BackToBackSWE 5 лет назад
@@sanjeevsiva17 yeah, same
@nothjg
@nothjg 3 года назад
this is so good i barely knew what is log and i know how it works but on computer science i never knew they use 2 as log base case now its clears everything thank you
@DivyaAggarwal-hn9td
@DivyaAggarwal-hn9td Год назад
This is by far the best explanation of logarithms in time complexities. 👏
@harshakada3374
@harshakada3374 4 года назад
Bro please do more videos. Absolutely amazing, the amount of clarification you are giving is 👌👌
@BackToBackSWE
@BackToBackSWE 4 года назад
sure
@raiyanreza9764
@raiyanreza9764 2 года назад
Beautiful! Finally, after all these years i understand this!
@nitinramadoss4112
@nitinramadoss4112 5 лет назад
You are a tremendously talented teacher! I cannot believe I understood this integral concept in a mere 10 minutes
@BackToBackSWE
@BackToBackSWE 5 лет назад
nice
@matematicaHobby
@matematicaHobby 3 года назад
Now I understand log(n) complexity. Thanks a lot! It was great.
@vigyanhoon
@vigyanhoon 4 года назад
Excellent. I had seen log n many times, but didn't know it as I know it now. Thanks.
@BackToBackSWE
@BackToBackSWE 4 года назад
sure
@vanessamyron
@vanessamyron 5 лет назад
You have no idea how happy I am to have come across your channel. This has helped me so so much. Please keep up the good work.
@BackToBackSWE
@BackToBackSWE 5 лет назад
nice, thanks
@Dzus1k
@Dzus1k 2 года назад
Wow. Perfect. I struggled with other explanations but this was very clear!
@Rohitsharma-yu3fz
@Rohitsharma-yu3fz 16 дней назад
Hi, the explanation of Logarithms in Time Complexities really helped me understand. Thank you!
@KhaliaBraswell
@KhaliaBraswell 4 года назад
THANK YOU!!!!! So clear. You are appreciated.
@BackToBackSWE
@BackToBackSWE 4 года назад
you as well
Далее
Истории с сестрой (Сборник)
38:16
Big-O Notation - For Coding Interviews
20:38
Просмотров 477 тыс.
Lecture 1: Algorithmic Thinking, Peak Finding
53:22
How I Got Good at Coding Interviews
6:29
Просмотров 1,6 млн