結果 : explain algorithm complexity analysis and write selection sort algorithm with example