In this video I have discussed plain simple bubble sort and how to count no of swaps that takes place whenever we are doing bubble sort.
if you are someone who is trying to solve all the problems from hackerrank interview preparation kit playlist and getting stuck anywhere or looking for optimized solution do check my playlist
• Hackerrank Interview Preparation Kit