Python Array Get Function Hashmap Javascript Interviewbit