01 Maximum number of items robot can pick in k steps from a row | Sliding Window | DSA Interview Q

  Рет қаралды 16

Ramjilal4You

Ramjilal4You

Күн бұрын

In this video I have discussed about DSA Question with multiple Approaches with code example
Q. Calculates the maximum number of items the robot can pick in exactly k steps from a row.
The robot can move left or right in each step. Given Robot position, k steps & items position array,
Input: Items = items[] = {9,0,0,0,1,7,2,4,0,0,9}, startPos = 5, k = 4
Comment if you need Complete Code link ...

Пікірлер
How Do Linux Kernel Drivers Work? - Learning Resource
17:02
LiveOverflow
Рет қаралды 552 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 86 МЛН
8. Multiple Pointers Count Unique Values Challenge
47:00
DSA Desi Explorer
Рет қаралды 4