diff --git a/3392. Count Subarrays of Length Three With a Condition b/3392. Count Subarrays of Length Three With a Condition new file mode 100644 index 0000000..6d24a10 --- /dev/null +++ b/3392. Count Subarrays of Length Three With a Condition @@ -0,0 +1,11 @@ +class Solution { +public: + int countSubarrays(vector& nums) { + int n = nums.size(); + int count = 0; + for(int i=0;i