Codechef - Phoebe and Her Fitness Class - Array Coding Question - Java Code Solution Explained смотреть онлайн
Codechef - Phoebe and Her Fitness Class - Array Coding Question - Java Code Solution Explained.
If you find this video helpful, please 'Like' & 'Subscribe'.
This is really helpful for the channel and also motivates me to do more of such good videos.
Problem Link : https://www.codechef.com/problems/PHBCLS
Problem Description:
Phoebe starts her own fitness class. There are N people standing in a row waiting to start their exercise. The ith person is standing at point Xi where 1≤i≤n. The length of the hands of each person is fixed as K units.
Each person exercises by raising their hands to the side. Now phoebe wants the exercise to be Perfect. Perfect exercise is possible if there is no overlapping of hands between two persons when they raise their hands side by side. An example of Perfect exercise is :
And if the hands are overlapping then it is Imperfect exercise. For example :
If the hands of two people are only touching i.e. if A+k=B−k then this is not considered as overlapping. Now you have to output if the given set of positions with hand length K is Perfect or Imperfect.
Youtube channel: https://www.youtube.com/channel/UCrvpRH4lSRjp2T6btl0lf4w
https://github.com/maksrane100/codeforces_solutions
https://github.com/maksrane100/leetcode_solutions
#coding #softwareengineer #Leetcode #Algorithm #DataStructure #Java #programmer #tech #software #codinglife #Preparation
#interview #programminglife #programmingisfun #codechef
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Codechef - Phoebe and Her Fitness Class - Array Coding Question - Java Code Solution Explained» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.