Nuclei interview question

Design task.