felipernb/algorithms.js — pull request #50 by gauravmittal1995 (2014-06-06 11:34:25+00:00)
Title: Improving efficiency of Bubble Sort.

Improving efficiency of bubble-sort by checking whether it is already sorted or has become sorted. If it has, break the remaining loops.