Time and Space Complexity COMPLETE Tutorial - What is Big O?
This tutorial will help you go from beginner to advanced with “Time and Space Complexity Analysis”. - We cover in-depth explanations of Big-O, Big-Omega, Th...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Greece under the topic 'no time to die'.
About this video
This tutorial will help you go from beginner to advanced with “Time and Space Complexity Analysis”.
- We cover in-depth explanations of Big-O, Big-Omega, Theta and other notations
- Types of recurrence relations (Linear, Divide-and-Conquer)
- How to solve any relation easily
- Time and space complexity of recursive programs
- The maths along with explaining it in a simple language
- Comparisons of various complexities along with graphs
- NP-Completeness introduction
- and much more!
NOTE: If you get any root in the recurrence relation equation, just replace N as 2^k. This will now be converted to divide and conquer relation. Then solve normally using Akra-Bazzi formula and in the end substitute for N.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
➡️ Connect with me: https://www.techwithkunal.com
=========================================
Timestamps:
00:00:00 Introduction
00:03:45 Example
00:06:27 Time Complexity
00:17:18 Comparing Complexities
00:23:18 Procedure for Analysing Complexity
00:37:50 Big-Oh Notation
00:44:38 Big-Omega Notation
00:46:28 Big-Theta Notation
00:49:20 Little-Oh Notation
00:53:03 Little-Omega Notation
00:55:29 Space Complexity
00:58:22 Question
01:04:24 Complexity Analysis : Sorting Algorithms
01:05:57 Complexity Analysis : Recursive Programs
01:13:55 Types of Recurrence Relations
01:16:49 Divide-and-Conquer Recurrence Relation
01:25:55 Akra-Bazzi Theorem
01:44:11 Linear Recurrence Relation
01:46:46 Solving Homogenous Linear Recurrence Relation
01:57:43 Q : Find nth Fibonacci Number using Golden ratio
02:03:15 Q : Solve Recurrence Relation with Repeated Roots
02:08:00 Non-Homogeneous Linear Recurrence Relation
02:09:10 Solving Non-Homogenous Linear Recurrence Relation
02:16:28 How to guess a Particular Solution?
02:20:34 Example
02:24:54 NP-Complete Problems
02:27:20 Outro
#complexity #placement #dsa #interviews
Video Information
Views
875.1K
Total views since publication
Likes
23.1K
User likes and reactions
Duration
02:28:24
Video length
Published
Sep 16, 2021
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#big o notation #big o notation in data structure #time complexity big o notation #asymptotic notations #introduction to big o notation and time complexity #Data Structures & Algorithms #big oh #time complexity #space complexity #time and space complexity interview questions #time complexity of merge sort #time complexity of binary search #time and space complexity of algorithms #recurrence relation in discrete mathematics #recurrence relation non homogeneous #Akra–Bazzi method
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.