Take $x[n]=\delta[n]$ and find the output $y[n]=\max_{k\le n}|x[k]|$.
For $n<0$: all inputs seen so far are 0, so $y[n]=0$.
For $n\ge0$: the input has already taken the value 1 (at $k=0$), so the maximum is 1.
So $h[n]=0$ for $n<0$ and $1$ for $n\ge0$, which is the unit step $u[n]$. (Note this system is not linear, but the question only asks for the response to $\delta[n]$.)
More LTI Systems questions
GATE 2019 EC Q15– Let Y(s) be the unit-step response of a causal system having a transfer function…
GATE 2018 EC Q14– Let the input be u and the output be y of a system, and the other parameters are real…
GATE 2016 EC Q16– Which one of the following is an eigen function of the class of all continuous-time,…
GATE 2017 EC Q15– Consider the following statements for continuous-time linear time invariant (LTI) systems.…
GATE 2017 EC Q16– Consider a single input single output discrete-time system with x[n] as input and y[n] as…
GATE 2017 EC Q62– A continuous time signal x(t) = 4(200 t) + 8(400 t), where t is in seconds, is the input…