Utility function for findMaxSubarraySum ( ) with the following parameters A = > Array A , B = > Array B , n = > Number of elements in Array A , m = > Number of elements in Array B
int findMaxSubarraySumUtil ( int A [ ] , int B [ ] , int n , int m ) {