Drop it

problem
solution

in while loop first condition is while, arrays length is greater than 0 continue shifting if second condition is true ,too.second condition tells us if arrays first num returns false keep shifting.

That was all bye!

Unlisted

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

🎉LikeSwap (LIKE) is Now Listed On The Bit Times 👉Link: https://thebittimes.com/token-LIKE-BSC-0x4a

MySQL handlersockets and ES2016 async/await.

First Unique Character in a String, JavaScript, LeetCode

map(), filter() and reduce() in JavaScript.

Playing a ball of cricket in typescript

BlogPost_305

How to add an external font to your website or web project in VS Code

How to add an external font to your website or web project in VS Code

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store