TalentPace Interview Question

pattern program