Hi I am trying to find the number of previous towers less than or equal to the current one , this solution is working great for inputs(NumOfTowers) <=10, but for the NumOfTowers >10 the code is going in segfault, i could not see the issue here, Hi I am trying to find the number of previous t