Impetus Technologies Interview Question

OOPs concept Internal working of HashMap and two coding question which recruiter asked to code. 1)Two sum 2) Duplicate char in string