## Coding Questions | Building Problem | Codewindow.in

There are n consecutive buildings and their heights are represented in arrays. You need to find the sum of maximum height for any buildings that are in increasing order. Given an array of positive integers of length N, write a program to find the maximum sum of strictly increasing subarrays. Example:Input:71 2 3 2 5 …

Coding Questions | Building Problem | Codewindow.in Read More »