Wissen Infotech interview question

easy leetcode problems, and core java