Fidelity Investments interview question

Solve a pattern question of an equilateral triangle

Interview Answer

Anonymous

29 May 2024

I applied 2 for loops with appropriate conditions and gave appropriate return statements