Consecutive 1's not allowed | 🧑💻 C++, Java, Python | S.C ➡️ O(1) | Dynamic Programming | POTD | GFG
Автор: Kattamuri Kowshiq
Загружено: 2023-12-12
Просмотров: 393
Описание:
🔹Link to the question: https://www.geeksforgeeks.org/problem...
🔸C++ code: https://github.com/AlgoZenithNITC/GFG...
🔸Java code: https://github.com/AlgoZenithNITC/GFG...
🔸Python code: https://github.com/AlgoZenithNITC/GFG...
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 "Consecutive 1's not allowed" which is a medium level question and has been asked by Morgan Stanley, Flipkart, Microsoft and Snapdeal.
In this video, I will explain a Space Optimised Dynamic Programming solution to solve this problem which is both time efficient, O(N) and space efficient, O(1).
00:00 Introduction to the problem
01:32 Understanding the problem
02:32 Framing the approach to solve the problem
11:53 Framing the code
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 #triolog
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: