This algorithm paradigm focusses on local optimality at each step in order to achieve global optimality.
This paradigm always chooses the step which benefits the solution immediately.
Under this paradigm, we will be learning :
The algorithm goes like this ...
Click the button below to see how selection sort works ...