Java program to find the maximum possible sum of a window in one array such that elements in same window of other array are unique .
import java . util . HashSet ; import java . util . Set ; public class MaxPossibleSuminWindow {