1442. Count Triplets That Can Form Two Arrays of Equal XOR
Description
**Input:** arr = [2,3,1,6,7]
**Output:** 4
**Explanation:** The triplets are (0,1,2), (0,2,2), (2,3,4) and (2,4,4)
**Input:** arr = [1,1,1,1,1]
**Output:** 10ac
Previous1441. Build an Array With Stack OperationsNext1443. Minimum Time to Collect All Apples in a Tree
Last updated