diff --git a/Reverse Array In Groups.cpp b/Reverse Array In Groups.cpp new file mode 100644 index 0000000..d04506e --- /dev/null +++ b/Reverse Array In Groups.cpp @@ -0,0 +1,40 @@ +class Solution{ + + public: + + void swap(vector&arr, int i, int j){ + + int temp; + + while(i& arr, int n , int k){ + + int i = 0; + + while(i