[interview] similar to spiral matrix