1534. Count Good Triplets

1534. Count Good TripletsDifficulty: EasyTopics: Array, EnumerationGiven an array of integers arr, and three integers a, b and c. You need to find the number of good triplets.A triplet (arr[i], arr[j]...
0 Read More

2179. Count Good Triplets in an Array

2179. Count Good Triplets in an ArrayDifficulty: HardTopics: Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered SetYou are given two 0-indexed arrays nums...
0 Read More