->here if we consider cost associated with swap then answer is 25+0+25*3=100
->but if we consider the cost associated with no of iterations that is as soon as 1 is at position 1 we will stop so in that case answer is 25+0+25=50
as 25 is cost associated with each sort so for first pass there is swap operation cost is 25 for 2nd swap there is no swap so cost is 0 and for 3rd pass there is swap operation cost is 25
overall cost is 25+0+25=50