Impact Guru interview question

Draw pyramid tree with loop