SRDT Pvt. interview question

Pattern printing and basic coding questions