HackerRank Larry's Array | Problem Solving | Python Solution

preview_player
Показать описание
Step by step explanation of what's happening in the rotation operations performed in Larry's Array.

Рекомендации по теме
Комментарии
Автор

nicely explained, but how do you know this solution is universal, it is some already well studied problem (liek stock span etc), or by inductive reasoning and observing patterns you came to this conclusion ?

mwarcademw
Автор

Sir how to make approach for this kind of question, like your solution is very easy but how a person can make himself that kind of approach?

amanbhandari
Автор

But, how can you make a statement and be sure that if it is not divisible by 2, then it isn't possible? I mean how can we be sure as students if we write the exams?

mayankkumar
welcome to shbcf.ru