I made the mistake of assuming the fact that all the digits of b must be greater than all the digits of a. Anyways thanks for the solution, too bad the contest became unrated.
@AkshatSinghania3 жыл бұрын
i also made the same mistake lol
@AjayKumar-wf8mp3 жыл бұрын
Why it became unrated ?
@prajwalkhune29023 жыл бұрын
Sir vo suffix array ka concept nahi samjha
@HiteshTripathi3 жыл бұрын
Suffxi array is for getting minimum swaps among all values greater then (ai) where ai = 2,4,6,8,10,.......,2n In O(1) complexity
@naive-fleek74202 жыл бұрын
Hey bro , why u stopped uploading cf editorials ..they were really helpful. Please try to upload every contest of cf ❤️❤️❤️
@HiteshTripathi2 жыл бұрын
Sure bro
@naive-fleek74202 жыл бұрын
impressive
@kulmankulman80 Жыл бұрын
Can you please comment in English
@raj.saurabhh3 жыл бұрын
2:20 bhaiya ye kya tha kaise pta chal o(n) ya o(logn) lgega
@HiteshTripathi3 жыл бұрын
Bro n ki value dekh k and time constraints dekh k ques k N^2 will go 10^10 operations thats why i said we will go for some approach less then that
@raj.saurabhh3 жыл бұрын
@@HiteshTripathi bhai thodi si brief mn btado kaise pata krte ye
@dipuprasad36943 жыл бұрын
thank you it was helpful
@ajourneyofabeginner3 жыл бұрын
please talking in English :)
@zawedakhtar3793 жыл бұрын
bhai tumko kon bola hai Teachers banane ke liye tum ek problom mai itna khumate ho koi tumhara tum ek dinn khud ghum jaao ge tumko samjhane nahi aata hai bhai ekdaam bekar samjhate ho ek exampal lekar samjha diya hota to 18 minut ke jagha 7 minut mai kaam ho jaata
@xXmayank.kumarXx3 жыл бұрын
partially agree but that's a rude way of putting up your complain
@HiteshTripathi3 жыл бұрын
Thanks bro ....... but you are not the only one who is watching this video ....... ek example lekar samjhata to log comment me 10 examples likhte fir unka explanation tum dete?? I just tried to explain the logic varna fir khud hi aakar bologe ki example bas dedeta hai logic ni batata
@HiteshTripathi3 жыл бұрын
Its not as easy as you think every body has its own way of understanding things , tumko jitni CP aati hai utni hi sabko aati hai kya? Obviously no naa thts why, mai chahta to 5 min me bana deta video
@zawedakhtar3793 жыл бұрын
bhai logic v batao but last mai ek exampal le kar a ha se explan to kar do
@HiteshTripathi3 жыл бұрын
@@zawedakhtar379 Bro you didnt watched full video , just watch it maine logic plus example kiya hai