NITSkmOS / Algorithms

In case you want to contribute, ping on https://gitter.im/NITSkmOS/algo.
https://nitskmos.github.io/Algorithms
MIT License
100 stars 302 forks source link

[Algo] Optimize bubble_sort.cpp #240

Closed SaashaJoshi closed 6 years ago

SaashaJoshi commented 6 years ago

Optimization of code.

sangamcse commented 6 years ago

GitMate.io thinks possibly related issues are https://github.com/NITSkmOS/Algorithms/issues/20 ([Algo]: Add Bubble Sort in C++), https://github.com/NITSkmOS/Algorithms/issues/45 ([Algo] Binary Search [C++]), https://github.com/NITSkmOS/Algorithms/issues/222 ([Algo] Radix Sort [C++]), https://github.com/NITSkmOS/Algorithms/issues/22 ([Algo]: Add Heapsort in C++), and https://github.com/NITSkmOS/Algorithms/issues/62 ([Algo] Insertion Sort [C++]).

AbhijeetKrishnan commented 6 years ago

What kind of optimizations are you thinking of here exactly?