CodeValue interview question

hash some string + api