Pregunta de entrevista de IBM

All the basic to Advanced and asked me to write the LWC code.