Describe the algorithm of this pattern

explain how to print spaces in between them

hi @prajwalsingh226_b93d74431f6edd96, refer this


its well commented for u to understand