Optum interview question

implement Hash Map for scratch, just the algo.