add three solutions: remove duplocates, remove element and search insert position