Verifone interview question

Pyramid printing, character frequency using hashmap, hashmap construction.