Intuit interview question

Implement a solution using Hashmap

Interview Answers

Anonymous

8 Mar 2019

There’s no getKey. You can use either containsKey(key) or get(key) method.

1

Anonymous

23 May 2014

use getKey to see if the number is already there

3