Infosys Interview Question

1. print pyramid pattern (coding qs)