Tavant interview question

binary search, any sorting algo, core java, j2ee