checks that the numbers of elements left are not less than the number of elements required to form the solution
if ( ( int ( n / 2 ) - no_of_selected_elements ) > ( n - curr_position ) ) : NEW_LINE INDENT return NEW_LINE DEDENT