1463. Cherry Pickup II - Day 19/31 Leetcode December Challenge

  Рет қаралды 334

Programming Live with Larry

Programming Live with Larry

Күн бұрын

Пікірлер: 6
@Algorithmist
@Algorithmist 3 жыл бұрын
Did you pick up all the cherries? You can watch my attempt on this problem during a contest here - kzbin.info/www/bejne/aam4oIB_iLd3adU
@parakhchaudhary7453
@parakhchaudhary7453 8 ай бұрын
Today's problem is this same one but since you haven't done it yet today I came here to see it XD
@bismeetsingh352
@bismeetsingh352 3 жыл бұрын
if c1==c2, why does c1 always take the cherry?
@Algorithmist
@Algorithmist 3 жыл бұрын
They share the same spot, so you only count the cherry once.
@bismeetsingh352
@bismeetsingh352 3 жыл бұрын
@@Algorithmist Correct, but doesn't it matter, which of them takes it, like in cherry pickup 1, the move from top to bottom would affect the outcome going back up.
@Algorithmist
@Algorithmist 3 жыл бұрын
@@bismeetsingh352 you only care about the total, so no, as long as one of the robots pick it up.. it's is equivalent.
334. Increasing Triplet Subsequence - Day 18/31 Leetcode December Challenge
31:00
Programming Live with Larry
Рет қаралды 236
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,9 МЛН
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 8 МЛН
黑的奸计得逞 #古风
00:24
Black and white double fury
Рет қаралды 26 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,8 МЛН
2664. The Knight’s Tour - Week 4/5 Leetcode October Challenge
12:38
Programming Live with Larry
Рет қаралды 172
2641. Cousins in Binary Tree II - Day 23/31 Leetcode October Challenge
9:22
Programming Live with Larry
Рет қаралды 158
1405. Longest Happy String - Day 16/31 Leetcode October Challenge
25:37
Programming Live with Larry
Рет қаралды 472
995  Minimum Number of K Consecutive Bit Flips
14:17
Coder on A Farm
Рет қаралды 197
1545. Find Kth Bit in Nth Binary String - Day 19/31 Leetcode October Challenge
13:55
Programming Live with Larry
Рет қаралды 360
CO1010 Programming for Engineers I
50:01
Sampath Deegalla
Рет қаралды 57
RandomizedSearchCV using Scikit-Learn
33:31
MEDIOCRE_GUY
Рет қаралды 14
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,9 МЛН