Urjanet Interview Question

print the given pattern.