From d5324605c2dbc2bba00812909626131752e57cf0 Mon Sep 17 00:00:00 2001 From: Kannan P S <45526117+KannanPS@users.noreply.github.com> Date: Wed, 27 Oct 2021 21:56:41 +0530 Subject: [PATCH] Update index.html --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index f28e5c9..8d8688b 100644 --- a/index.html +++ b/index.html @@ -205,7 +205,7 @@ if(front==-1 && rear==-1){ front=0; } - rear=rear+1; + rear+=rear; queue[rear]=item; } } @@ -365,4 +365,4 @@ - \ No newline at end of file +