How Bubble Sort Works: A Simple Guide
Logic→
We take two nested loops the outer loop which will run from 0 to the length of items in array and the second loop running from 1 to the length of array - i times its doing so because if we run loop 1st time it will sort the loop keeping the bi...
sidhantjaiswalsj-datastructures.hashnode.dev4 min read