Master Big O Notation: Essential Guide to Analyzing Algorithm Efficiency π
Learn how to measure the time and space complexity of algorithms with this comprehensive Big O notation tutorial. Perfect for understanding algorithm performance as data size increases!

codebasics
877.7K views β’ Mar 3, 2020

About this video
Big O notation is the way to measure how software program's running time or space requirements grow as the input size grows. We can't measure this using absolute terms such as time in seconds because different computers have different hardware hence we need a mathematical way to measure time complexity of a program and Big O is that mathematical way. The basic idea is to come up with mathematical function for a running time and consider only fastest growing term and discard other terms as well as constants. Big O is used to measure space complexity as well, You will know how to find the time and space complexity of algorithms.
Clarification: At 5:05, the code should be print(str(numbers[i]) + " is a duplicate"), to concatenate integer with string you need to convert to string or use format string.
#bigo #bigonotation #timecomplexity #spacecomplexity #datastructures #algorithms #python
Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses.
Next Video: https://www.youtube.com/watch?v=gDqQf4Ekr2A&list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12&index=3
Previous video: https://www.youtube.com/watch?v=_t2GVaQasRY&list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12&index=1
Complete playlist:https://www.youtube.com/playlist?list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12
π My Website For Video Courses: https://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description
Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.
#οΈβ£ Social Media #οΈβ£
π Discord: https://discord.gg/r42Kbuk
πΈ Dhaval's Personal Instagram: https://www.instagram.com/dhavalsays/
πΈ Codebasics Instagram: https://www.instagram.com/codebasicshub/
π Facebook: https://www.facebook.com/codebasicshub
π± Twitter: https://twitter.com/codebasicshub
π Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
π Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
π Patreon: https://www.patreon.com/codebasics?fan_landing=true
Clarification: At 5:05, the code should be print(str(numbers[i]) + " is a duplicate"), to concatenate integer with string you need to convert to string or use format string.
#bigo #bigonotation #timecomplexity #spacecomplexity #datastructures #algorithms #python
Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses.
Next Video: https://www.youtube.com/watch?v=gDqQf4Ekr2A&list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12&index=3
Previous video: https://www.youtube.com/watch?v=_t2GVaQasRY&list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12&index=1
Complete playlist:https://www.youtube.com/playlist?list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12
π My Website For Video Courses: https://codebasics.io/?utm_source=description&utm_medium=yt&utm_campaign=description&utm_id=description
Need help building software or data analytics and AI solutions? My company https://www.atliq.com/ can help. Click on the Contact button on that website.
#οΈβ£ Social Media #οΈβ£
π Discord: https://discord.gg/r42Kbuk
πΈ Dhaval's Personal Instagram: https://www.instagram.com/dhavalsays/
πΈ Codebasics Instagram: https://www.instagram.com/codebasicshub/
π Facebook: https://www.facebook.com/codebasicshub
π± Twitter: https://twitter.com/codebasicshub
π Linkedin (Personal): https://www.linkedin.com/in/dhavalsays/
π Linkedin (Codebasics): https://www.linkedin.com/company/codebasics/
π Patreon: https://www.patreon.com/codebasics?fan_landing=true
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
877.7K
Likes
16.2K
Duration
12:31
Published
Mar 3, 2020
User Reviews
4.8
(175) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.