Function to calculate the max sum of contigous subarray of B whose elements are not present in A
static int findMaxSubarraySum ( int [ ] A , int [ ] B ) { Dictionary < int , int > m = new Dictionary < int , int > ( ) ;