Find A[i] = i in vector
Find max element in vector
Remove duplicated elements in unordered vector
Simple selection sort algorithm implementation