Java program to count the Number of triplets in array having subarray XOR equal
import java . io . * ; import java . util . Arrays ; import java . util . ArrayList ; import java . lang . * ; import java . util . Collections ; class GFG {