Frage im Vorstellungsgespräch bei Cognizant

rite a program to reverse a string;difference between hashmap and table ;program to switch to different windows