Decryption key

The leader of the cybersecurity teams has invited you to an interview. He gives you an encrypted list of integers. He wants you to extract the hidden message. Can you do it?

Explanation Input is denoted by:

  • nums: A list of integers representing the encrypted message

Your task is to take the numbers, multiply them all together, then go through the multiplied number, converting every adjacent pair into ascii characters.


Example Case

Input: nums = [13, 6]
Output: N
Explanation: nums[0] * nums[1] = 78, 78 = N


Case 1

Input: nums = [4, 2, 6, 7, 11, 22883]

Case 2

Input: nums = [2, 3, 3, 7, 11, 13, 37, 101, 9901]

Case 3

Input: nums = [2, 11, 11, 1229, 254747808919603]

Submit Here