Design and Analysis of Algorithms
Design and Analysis of Algorithms
  • Видео 57
  • Просмотров 2 353 108
Course Outline
To access the translated content:
1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation
The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video.
Your feedback is highly appreciated. Kindly fill this form forms.gle/XFZhSnHsCLML2LXA6
2. Regional language subtitles available for this course
To watch the subtitles in regional languages:
1. Click on the lecture under Course Details.
2. Play the video.
3. Now click on the Settings icon and a list of features will displa...
Просмотров: 242 282

Видео

Example: Xerox shop
Просмотров 74 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Example: Document similarity
Просмотров 54 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Example: Air Travel
Просмотров 106 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Examples: Analysis of iterative and recursive algorithms
Просмотров 77 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Introduction and motivation
Просмотров 118 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Input size, worst case, average case
Просмотров 101 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Quantifying efficiency: O( ), Omega( ), Theta( )
Просмотров 90 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Selection Sort
Просмотров 53 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Insertion sort
Просмотров 45 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Merge sort
Просмотров 47 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Quicksort - analysis
Просмотров 28 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Sorting - Concluding remarks
Просмотров 21 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Merge sort - analysis
Просмотров 38 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Arrays and lists
Просмотров 75 тыс.7 лет назад
To access the translated content: 1. The translated content of this course is available in regional languages. For details please visit nptel.ac.in/translation The video course content can be accessed in the form of regional language text transcripts, books which can be accessed under downloads of each course, subtitles in the video and Video Text Track below the video. Your feedback is highly ...
Quicksort
Просмотров 40 тыс.7 лет назад
Quicksort
Searching in an array
Просмотров 51 тыс.7 лет назад
Searching in an array
Representing graphs
Просмотров 38 тыс.7 лет назад
Representing graphs
Introduction to graphs
Просмотров 51 тыс.7 лет назад
Introduction to graphs
Breadth first search (BFS)
Просмотров 55 тыс.7 лет назад
Breadth first search (BFS)
Depth first search (DFS)
Просмотров 36 тыс.7 лет назад
Depth first search (DFS)
Directed acylic graphs: topological sort
Просмотров 39 тыс.7 лет назад
Directed acylic graphs: topological sort
Directed acylic graphs: longest paths
Просмотров 42 тыс.7 лет назад
Directed acylic graphs: longest paths
Applications of BFS and DFS
Просмотров 44 тыс.7 лет назад
Applications of BFS and DFS
Single source shortest paths: Dijkstras algorithm
Просмотров 35 тыс.7 лет назад
Single source shortest paths: Dijkstras algorithm
Negative edge weights: Bellman-Ford algorithm
Просмотров 29 тыс.7 лет назад
Negative edge weights: Bellman-Ford algorithm
All pairs shortest paths
Просмотров 24 тыс.7 лет назад
All pairs shortest paths
Minimum Cost Spanning Trees
Просмотров 19 тыс.7 лет назад
Minimum Cost Spanning Trees
Kruskals algorithm
Просмотров 19 тыс.7 лет назад
Kruskals algorithm
Prims Algorithm
Просмотров 24 тыс.7 лет назад
Prims Algorithm

Комментарии

  • @vsk_ind
    @vsk_ind Месяц назад

    total trash

  • @vsk_ind
    @vsk_ind Месяц назад

    sorry to say but its total bullshit

  • @anjalipal4869
    @anjalipal4869 Месяц назад

    very poor content delivery😭

  • @vsk_ind
    @vsk_ind Месяц назад

    I wouldn't have willingly attended this course whatsoever, only because my college has made it compulsory to get a petty certificate out of this, is why I'm watching this... Have a good day :)

  • @roopeshjayaprakash9493
    @roopeshjayaprakash9493 Месяц назад

    No doubts in the concept though, but in this map maharashtra and karnataka are given same colour, though they share a boundary

  • @Thhion
    @Thhion Месяц назад

    Much better than our IIT professor's explanation of this same thing. Only if you were our teacher

  • @siddharthmundra9041
    @siddharthmundra9041 4 месяца назад

    Better than my prof at ucsd

  • @siddharthmundra
    @siddharthmundra 4 месяца назад

    Practice problems on this topic?

  • @NiltraGaming
    @NiltraGaming 4 месяца назад

    improve the explanation to be more beginner friendly

  • @asmisrivastava3934
    @asmisrivastava3934 6 месяцев назад

    great

  • @vasudev7828
    @vasudev7828 6 месяцев назад

    i found the root array to be unnecessary. node[k] is equal to root[k] if k is a component root.

  • @vasudev7828
    @vasudev7828 7 месяцев назад

    This implementation of merge sort throws an out of bounds exception, because it attempt to access A[i] (in case 1) before checking i==m (in case 2). Here's the fixed version: int Apos = 0, Bpos = 0; for (int i = 0; i < C.size(); i++) { if (Apos == A.size() || ((Bpos < B.size()) && (B[Bpos] <= A[Apos]))) { C[i] = B[Bpos]; Bpos++; } else { C[i] = A[Apos]; Apos++; } } look up short circuit evaluation if you don't know what that is.

  • @prabhatjha653
    @prabhatjha653 7 месяцев назад

    One quick question, as you have mentioned if i use sorted array as priority queue i would need O(n) time to insert and O(1) time to delete_max, so overall to process n jobs its O(n^2), why can't i insert in a binary search way needing O(logn) to insert and take out in O(1) time making it O(nlogn) and we do not have to move to heaps in that case. Am i missing something?

  • @rishabhraj8233
    @rishabhraj8233 7 месяцев назад

    Thank you sir.

  • @snehalkathale2477
    @snehalkathale2477 9 месяцев назад

    Consider given array is A={2,6,8,9,11}, r = 5 & l = 0; And searching element LET K= 9; //-------fisrt call : ------ bsearch(K=9,A,l=0,r=5) { //for 1st if(r-l == 0) r -l = 5-0 not equal to 0 // if statement will not execute mid = (l+r)/2 = (0 + 5)/2 =2 //2.5 but will take integer division //For 2nd if( K == A[mid]) K= 9 and A[mid] = A[2]= 8 which is not equal to K Therefore if statement will not execute //For 3rd if(K <A[mid]) (9 is not less than 8) Therefore if statement will not execute //For else //------Second call : ------- bsearch(K= 9, A, mid+1= 3, r=5) {// l is mid+1 that is 3 r -l = 5-3=2 not equal to 0 // if statement will not execute mid = (l+r)/2 = (3 + 5)/2 =4 //For 2nd if( K == A[mid]) K= 9 and A[mid] = A[4]= 11 which is not equal to K Therefore if statement will not execute //For 3rd if(K< A[mid]) K = 9 and A[mid] = 11 therefore if statement will execute and //------Third call : -------- bsearch(K= 9, A, l= 3, mid=4) { // here r = mid = 4; r -l = 4-3=1 not equal to 0 // if statement will not execute mid = (l+r)/2 = (3 + 4)/2 =3 //3.5 but will take integer division //For 2nd if( K == A[mid]) K= 9 and A[mid] = A[3]= 9 which is equal to K Therefore if statement will execute And * return True* to second call And that will return true to 1st call of function And overall element is found }//3rd call end here }//2nd call end here }// 1st call end here

  • @princeraiyani3468
    @princeraiyani3468 9 месяцев назад

    Where to find presentation?

  • @ashishverma-y7j
    @ashishverma-y7j 9 месяцев назад

    WELL I HAVE ALWAYS BEEN A FAN THE WAY MADHAV SIR EXPLAINS THE CONCEPT...BEST AMAZING,, EVEN HIS PROGRMAMMING DATASTRUCTRES USING PYTHON ALSO AMAZING..

  • @nachiketshelar8114
    @nachiketshelar8114 10 месяцев назад

    I just hate it when the course about algorithms has algorithms wrong

  • @VK-im2nb
    @VK-im2nb Год назад

    Does anyone have slides for the lecture

  • @vishakha-d4g
    @vishakha-d4g Год назад

    Language should be simple ,,, difficult to understand

  • @PrithaMajumder
    @PrithaMajumder Год назад

    Thank You So Much for This Amazing Lecture... 😊

  • @PrithaMajumder
    @PrithaMajumder Год назад

    Thank You So Much for This Amazing Lecture... 😊

  • @PrithaMajumder
    @PrithaMajumder Год назад

    Thank You So Much for This Amazing Lecture... 😊

  • @PrithaMajumder
    @PrithaMajumder Год назад

    Thank You So Much for This Amazing Introduction, looking forward to completing this course... 😊

    • @Iam_Kady
      @Iam_Kady 9 месяцев назад

      Have you completed ye?

  • @taruchitgoyal3735
    @taruchitgoyal3735 Год назад

    In the beginning of the session, example of air traffic controller was stated and the issues with respect to heap were observed when checking the predecessor and successor. Thus, can we say Binary Search Tree overcomes disadvantage of Heaps for finding successor and predecessor?

  • @nonpopuler3920
    @nonpopuler3920 Год назад

    Hi sir muje input size nahi samaj ra hai

  • @LearnPythoninPashto
    @LearnPythoninPashto Год назад

    we say to it ratalogist it means to memorize something but in practical quality is zero please don't waste time in such video

  • @PramodKumar-bu2uf
    @PramodKumar-bu2uf Год назад

    anyone can share the code of this problem

  • @chiragwad
    @chiragwad Год назад

    amazing explanation

  • @anuragbose2622
    @anuragbose2622 Год назад

    Thank you very much for these applications. It helped me solve many questions .

  • @dewanshusatpude6606
    @dewanshusatpude6606 Год назад

    Why sir you are making such an easy thing so complex?

  • @dewanshusatpude6606
    @dewanshusatpude6606 Год назад

    Can you simplify the proofing part. It's getting very complex

  • @meaw3409
    @meaw3409 Год назад

    Thank you sir for these videos your channel is really helpful !

  • @Ethan_here230
    @Ethan_here230 Год назад

    Sir please try explaining on greenboard with chalk. Really helps in understanding things since we become a part of calculation with it and can understand steps. And gets us involved . Please consider

  • @shakthi6351
    @shakthi6351 Год назад

    I think, at 13:21, the very last update statement should be Nbr_TV [ v ] = u ;

  • @binduaishu82
    @binduaishu82 2 года назад

    Hii i am btech IT student...but there is no option for IT dept in gate exam training session...should we follow computer science engineering videos ?

  • @shakthi6351
    @shakthi6351 2 года назад

    at 9:47 The indentation for the last statement is incorrect. The post count for vertex 'i' must be assigned a value once the For loop is completed and not inside it.

  • @aranasrehman106
    @aranasrehman106 2 года назад

    Thanks for the Malayalam subtitle

  • @chaitanya1999
    @chaitanya1999 2 года назад

    Seems bellman ford only works well for directed graphs with negative edges. If you have an undirected graph with a negative edge, that will be interpreted as a negative cycle by this algorithm, as you can go to-fro as many times as you want over the negative edge. For proof, consider the adjacency matrix representation of an undirected graph. Let's say edge from U to V has weight -W. then graph[U][V] = -W graph[V][U] = -W This will definitely be considered as two separate edges by the algorithm, hence the negative cycle.

  • @suriyars4487
    @suriyars4487 2 года назад

    Vera level Madhavan Sir

  • @harshkiprofile
    @harshkiprofile 2 года назад

    Anyone pursuing the same course in july 2022 here

  • @kaustubh_ramteke_07
    @kaustubh_ramteke_07 2 года назад

    👍

  • @vedicbalia825
    @vedicbalia825 2 года назад

    hi

  • @kokkondaabhilashachary8679
    @kokkondaabhilashachary8679 2 года назад

    Why + 1?

  • @OmarTriguiTn
    @OmarTriguiTn 2 года назад

    Thanks a lot ! Simple and efficient teaching techniques. Much appreciate that

  • @aniruddhadas1778
    @aniruddhadas1778 2 года назад

    🇮🇳

  • @vishalraja1543
    @vishalraja1543 2 года назад

    loved the proof man!!

  • @kamleshkumarsahu4699
    @kamleshkumarsahu4699 2 года назад

    This is some next level explanation. I am just loving all his videos. I wish my college teacher could teach like this. Such proper sequential explanation never seen before. Love you sir.

  • @akhileshthecoolest
    @akhileshthecoolest 2 года назад

    at the last step of the algorithm.. it should be quicksort(A,yellow,r)

    • @simranjeetsingh6728
      @simranjeetsingh6728 8 месяцев назад

      Correct! Thanks for pointing out!

    • @vasudev7828
      @vasudev7828 6 месяцев назад

      And, the previous step must be quicksort(A, l, yellow-1)

    • @Manas-q8x
      @Manas-q8x Месяц назад

      I guess not... because the pivot element is already sorted

  • @adityajha2701
    @adityajha2701 2 года назад

    amazing lecture!!