Pergunta de entrevista da empresa ColorTokens

Coding questions: 1. Given a service, use https module of node.js to call a service and based on the result, call second service multiple number times and generate response in requested format (had to use promises and lot of json manipulation) 2. Given array of integers, find distinct sets of 2 integers that sum to a particular value Ex: Input: 3 2 5 2 3 4 1 Output: 2 Explanation :{(3,2),(4,1)} 3. Don't remember exact question, but it 's something like this: All the characters of string are encoded to ASCII and result is reversed. Input: Above reversed ASCII code of string Ouput: Decode above code to get the string