Hasmap Algoritham's