From 103378866f3371683d138050d1dfe62d4a900fae Mon Sep 17 00:00:00 2001 From: chayan das <110921638+Chayandas07@users.noreply.github.com> Date: Mon, 14 Apr 2025 21:37:20 +0530 Subject: [PATCH] Create 1534. Count Good Triplets --- 1534. Count Good Triplets | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 1534. Count Good Triplets diff --git a/1534. Count Good Triplets b/1534. Count Good Triplets new file mode 100644 index 0000000..598f6f9 --- /dev/null +++ b/1534. Count Good Triplets @@ -0,0 +1,16 @@ +class Solution { +public: + int countGoodTriplets(vector& arr, int a, int b, int c) { + int ans=0; + for(int i=0;i