Sapiens interview question

Questions on java hashmap, treemap, find sum of all digits...