text: C # program to find the maximum height of Pyramidal Arrangement of array values
code: using System ; class GFG { static int MaximumHeight ( int [ ] a , int n ) { int result = 1 ; for ( int i = 1 ; i <= n ; ++ i ) {