VMWARE NG OA

共 6 题.

3 道 easy multiple choice

第一题 break a palindrome.

第二题 You are passed a list of strings containg a sender,reciever,messagebody and you need to return a list of list saying what order the email is (1,2) and what order it is in the chain. Order of emails is determined by intial list that is passed in. You need to parse shit and that is kind of fucked and then emails can be uniqulely idenfieid by body sender reciever so you need some sort of nested hashmap situation. The way you know if a remail belongs to another chain is it has some symbol like --------------> hi from vaction----------------->back from vacation and then the actual message body scomes before or after. This problem is fucked save it for last.

第三题是string方面