Mitsogo Interview Question

Pattern programming pyramid space pattern, logical questions