Function to find the maximum sum subarray by excluding the maximum element from the array
static void maximumSumSubarray ( int [ ] arr , int n ) { Dictionary < int , int > mp = new Dictionary < int , int > ( ) ;