Rupeek interview question

Introduction DSA Node question Java question (basics)