One To Three | Starters 161(Rated for all) | START161 | Maths

  Рет қаралды 55

CodeLearnCode

CodeLearnCode

Күн бұрын

Пікірлер: 4
@codeNLearnNCode
@codeNLearnNCode 7 күн бұрын
Problem Link: www.codechef.com/problems/ONETOTHREE
@samwilder6199
@samwilder6199 4 күн бұрын
In this can't we just from left to right twice it should be able to give the same answer or am i wrong
@codeNLearnNCode
@codeNLearnNCode 4 күн бұрын
no that will not help why let's see one example 2 3 3 3 3 1 once you iterated from left to right 2 3 3 3 1 1 second time you did 2 3 3 1 1 1 but still you need to one more time in order to minimize the sum that is why it is better to iterate from right after left iteration as it will get sorted out in one loop (from right)
@samwilder6199
@samwilder6199 4 күн бұрын
Got it thanks
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 3,1 МЛН
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 15 М.
Codechef Starters 161 | One To Three | Explanation
8:22
ak tiwari
Рет қаралды 109
genshin fly glitch
6:40
Uncle Iroh
Рет қаралды 528
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН