data-structures-algorithms-python
data-structures-algorithms-python copied to clipboard
Selection Sort Solution to Exercise and True output does not match
The last 4 sorted elements from solution are: {'First Name': 'Raj', 'Last Name': 'Sharma'} {'First Name': 'Raj', 'Last Name': 'Nayyar'} {'First Name': 'Raj', 'Last Name': 'Thakur'} {'First Name': 'Suraj', 'Last Name': 'Sharma'
but alphabetically, 'Nayyar' should come before 'Sharma'.
The attached code below gives the desired o/p. exercise_selection_sort.txt