Eren and Armin
CodeChefOpen on judge ↗
Eren and Armin are best friends. Armin is little bit weird so he wears a weird type of eye glasses that can see only $X$ amount of numbers in array. Eren has a stripe which has $N$ integers written on it, he asked Armin to look on stripe from left to right and shout out the maximum number in his current vision, so Eren can write them. NOTE: Armin can view only $X$ amount of numbers at a time and
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start