From a19a862971746309e7fdc3c51ecf09d60db617b3 Mon Sep 17 00:00:00 2001 From: sathish-saminathan <56637577+sathish-saminathan@users.noreply.github.com> Date: Fri, 22 Oct 2021 14:12:30 +0530 Subject: [PATCH] Create MirrorInverse --- MirrorInverse | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 MirrorInverse diff --git a/MirrorInverse b/MirrorInverse new file mode 100644 index 00000000..3fe596bb --- /dev/null +++ b/MirrorInverse @@ -0,0 +1,24 @@ +package hacktoberfest; + +public class MirrorInverse { +//Function that returns true if the array is mirror-inverse +static boolean isMirrorInverse(int arr[]) +{ +for (int i = 0; i