Coding | Mcqs | Multiple choice questions | Informative | Computer Science | Engineering | Aptitude | Quants | Verbal

INFEED

Daily Challenge apr 13

 (lambda n,List,k:print(*[max(List[i*k:i*k+k])for i in range(n//k)]))(int(input()),list(map(int,input().split())),int(input()))

Post a Comment

Previous Post Next Post