๐ฆ Vertex Cover | ๐งโ๐ป C++, Java, Python | Binary Search | Gosper's Hack | Graph | Bits | POTD | GFG
โฆ๏ธ Link to my WhatsApp Channel: https://whatsapp.com/channel/0029VaITGBX3AzNRgmw8YF3T ๐นLink to the question: https://www.geeksforgeeks.org/problem-of-the-day ๐นLink to the article: https://programmingforinsomniacs.blogspot.com/2018/03/gospers-hack-explained.html ๐ธC++ code: https://github.com/AlgoZenithNITC/GFG_POTD_Solutions_AlgoZenithNITC/blob/main/Vertex_Cover.cpp ๐ธJava code: https://github.com/AlgoZenithNITC/GFG_POTD_Solutions_AlgoZenithNITC/blob/main/Vertex_Cover.java ๐ธPython code: https://github.com/AlgoZenithNITC/GFG_POTD_Solutions_AlgoZenithNITC/blob/main/Vertex_Cover.py Hi everyone, welcome to my channel where I upload the video solutions to the "Problem of the day" that is asked daily on GeeksforGeeks. Today's problem is "Vertex Cover" which is a hard level question and has been asked by Intuit and Morgan Stanley. In this video, I will explain a Binary Search solution to solve this problem which is both time efficient, O(log(N)*2^N*(N^2)) and space efficient, O(N^2), where H is the height of the tree. 00:00 About WhatsApp Community 00:45 Introduction to the problem 01:30 Understanding the problem 07:16 Framing the approach to solve the problem 17:53 Explanation of Gosper's Hack 30:00 Going through the code 35:19 Time and Space Complexity analysis I hope you enjoyed this video and learned something new. If you did, please give it a thumbs up ๐ and share it with your friends who are also interested in coding. And don't forget to subscribe to my channel and hit the bell icon ๐ to get notified whenever I upload a new video. Thank you for watching and see you in the next one! ๐ โโโฆโโโฆโโโโฆโโฆโฆโฆโฆโโโโ โโโฃโโโโโฃโโฃโโฃโโฃโโโฃโโฃ โ โโโโโโโ โโโโฃโโโโโโโฃ โโโฉโโโฉโโฉโโฉโโฉโโโฉโโฉโโ #dsa #amazon #paytm #programming #gfg #gfgpotd #problemsolving #coding #softwareengineer #faang #microsoft #competitiveprogramming #dsasheet #interviewpreparation #coding #helpajobseeker #gfg #geeksforgeeks #leetcode #potd #coding #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #india #easyexplaination #interview #interviewtips #interviewpreparation #interview_ds_algo #github #data #google #video #vistu #financial #leetcode #leetcodechallengeeetcodedailychallenge #leetcodesolutions #leetcodequestionandanswers #leetcodequestions #leetcodesolution #leetcodethehardway #substring #dynamicprogramming #strings #c #java #python #codinginterviews #problemoftheday #countnumbers #homogenous #algorithm #datastructures #english #greedy #spacecomplexity #timecomplexity #goldmansachs #google #linkedin #linkedintutorial #bitmanipulation #bits #competitiveprogramming #apple #lcs #tabulation #bloomberg #microsoft #subsequence #ibm #binarytree #linkedlist #microsoft #zooper #walmart #flipkart #snapdeal #informatica #makemytrip #oyo #paypal #codenation #triology
Download
0 formatsNo download links available.