WebKul interview question

Pattern questions very easy it was