ANR Software Interview Question

1.reverse array without extra space 2.hastable vs hashset