JK Tech interview question

technical question