CTS interview question

Left triangle star pattern program