Pick Toys | An Interesting Sliding Window Problem

Aditya Verma β€’ January 3, 2021
Video Thumbnail
Aditya Verma Logo

Aditya Verma

View Channel

About

I am a SDE 2 @ Flipkart. Through this Channel I aim to help thousands of student who are preparing for their Interview but couldn't find explanation good enough to clear their doubts. I faced the same problem when I was preparing for my Interviews. Here on this channel I explained the concepts as I studied them which eventually landed me Intern + Full Time offer in Flipkart. In this channel I tried my best to provide an alternative to mugging up the things and showed how really to grasp concepts behind a problem.

Video Description

Use Code ADITYA.VERMA.NITB for unlocking Free Classes and 10% off in Subscription Get ready to conquer the fundamentals and interviews with Unacademy's CONQUEST 2021. Leave Procrastination behind in 2020 and enroll! Check out "CONQUEST 2021: From programming fundamentals to Career Readiness (C++)" (Preview available) : https://unacademy.com/batch/conquest-2021-from-programming-fundamentals-to-career-readiness-c/KVT2BWKG Check out "CONQUEST 2021: From programming fundamentals to Career Readiness (PYTHON)" (Preview available) : https://unacademy.com/batch/conquest-2021-from-programming-fundamentals-to-career-readiness-python/58QFSFSW Check out "CONQUEST 2021: From programming fundamentals to Career Readiness (JAVA)" (Preview available) :https://unacademy.com/batch/conquest-2021-from-programming-fundamentals-to-career-readiness-java/UKFRD2ZA Be placement ready with our Tech Placement Bootcamp: https://unacademy.com/a/tech-placement-bootcamp-2020 --------------------------------------------------------------------------------------------------------------------------------------------------------------- Patreon Link: https://www.patreon.com/adityaVerma Video Pdf Notes And Code: https://www.patreon.com/posts/45753532 --------------------------------------------------------------------------------------------------------------------------------------------------------------- Playlist Link: https://youtube.com/playlist?list=PL_z_8CaSLPWeM8BDJmIYDaoQ5zuwyxnfj Problem Description: No Where, it was an interview problem John is at a toy store help him pick maximum number of toys. He can only select in a continuous manner and he can select only two types of toys. Example: Input: 1 abaccab ⏰ Time Stamps ⏰ 0:00 Intro and Flow 1:04 Problem Statement 5:12 Check out Unacademy's Free Courses 7:47 Input and Output 10:33 Explanation 18:16 Relation to an already solved Problem 23:16 Support the Channel: Like and Subscribe . ------------------------------------------------------------------------------------------ Here are some of the gears that I use almost everyday: πŸ–ŠοΈ : My Pen (Used in videos too): https://amzn.to/38fKSM1 πŸ‘¨πŸ»β€πŸ’» : My Apple Macbook pro: https://amzn.to/3w8iZh6 πŸ’» : My gaming laptop: https://amzn.to/3yjcn23 πŸ“± : My Ipad: https://amzn.to/39yEMGS ✏️ : My Apple Pencil: https://amzn.to/3kMnKYf 🎧 : My Headphones: https://amzn.to/3kMOzM7 πŸ’Ί : My Chair: https://amzn.to/385weqR πŸ›‹ : My Table: https://amzn.to/3kMohtd ⏰ : My Clock: https://amzn.to/3slFUV3 πŸ™‹πŸ»β€β™€οΈ : My girlfriend: https://amzn.to/3M6zLDK Β―\_(ツ)_/Β― PS: While having good gears help you perform efficiently, don’t get under the impression that they will make you successful without any hard work.

You May Also Like