IndiaFilings.com Interview Question

Triangle star pattern and triangle number patterns