From 925de99c55f8715bf2e1f0ac554482a8dcc56164 Mon Sep 17 00:00:00 2001 From: chayan das <110921638+Chayandas07@users.noreply.github.com> Date: Mon, 21 Oct 2024 23:44:30 +0530 Subject: [PATCH] Create 21 October Split the Array --- 21 October Split the Array | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 21 October Split the Array diff --git a/21 October Split the Array b/21 October Split the Array new file mode 100644 index 0000000..514d1d9 --- /dev/null +++ b/21 October Split the Array @@ -0,0 +1,19 @@ +class Solution { + public: + int countgroup(vector& arr) { + // Complete the function + int mod=1e9+7; + int x=arr[0]; + for(int i=1;i