diff --git a/rotate the array.c b/rotate the array.c new file mode 100644 index 0000000..e25b3ae --- /dev/null +++ b/rotate the array.c @@ -0,0 +1,36 @@ +#include + +void left_rotate(int arr,int d, int n) +{ + int i; + for (int i=0;i