🔹Link to the question: [ Ссылка ]
🔸C++ code: [ Ссылка ]
🔸Java code: [ Ссылка ]
🔸Python code: [ Ссылка ]
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 "Number following a pattern" which is a medium level question and has been asked by Amazon, Goldman Sachs, and Google.
In this video, I will explain a greedy approach to solve this problem which is both time efficient, O(n), n is the length of the string and space efficient, O(1).
00:00 Introductory note
00:08 Introduction to the problem
02:10 Understanding the problem
05:10 Framing the approach to solve the problem
13:05 Going through the code
15:36 Dry run of a test case
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 #leetcodechallenge #leetcodedailychallenge #leetcodesolutions #leetcodequestionandanswers #leetcodequestions #leetcodesolution #leetcodethehardway #substring #dynamicprogramming #strings #c++
#java #python #codinginterviews #problemoftheday #countnumbers #homogenous #algorithm #datastructures #english #greedy #spacecomplexity #timecomplexity #goldmansachs #google
Ещё видео!