Publicis Sapient interview question

Basic programming questions like reverse a number , use of Hashmap and finding xpaths from UI