I have two of these codes below one for bubble and one for selection sort.
How can i do the average case for both of them step by step ?
This is for select