From de6dbd88ee1e7c5d231982fa43b0e6d7b5f76a7e Mon Sep 17 00:00:00 2001 From: vidhipapne <36477883+vidhipapne@users.noreply.github.com> Date: Wed, 6 Oct 2021 21:11:59 +0530 Subject: [PATCH] Create LeftRotation.java --- LeftRotation.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 LeftRotation.java diff --git a/LeftRotation.java b/LeftRotation.java new file mode 100644 index 0000000..6edd91f --- /dev/null +++ b/LeftRotation.java @@ -0,0 +1,19 @@ +public class leftrotation { + public static void main(String args[]) { + int a []= {1,2,3,4,5}; + int d =2; + + for (int i =0;i