diff --git a/22 nov 22 November Magic Triplets b/22 nov 22 November Magic Triplets new file mode 100644 index 00000000..213f2ac6 --- /dev/null +++ b/22 nov 22 November Magic Triplets @@ -0,0 +1,46 @@ +class Solution{ + public: + int countTriplets(vectorarr){ + + // Code here. + + int s=0, e=0, i=0, j=0, p=0, q=0; + + int ans=0; + + int n =arr.size(); + + for(i=1;iarr[j]){ + + p++; + + } + + } + + for(j=i+1;j