Pergunta de entrevista da empresa HENNGE

The question's solution must be given in Python and then submitted via an HTTP request to an url, and requires you to generate a OTP (further instructions are given) which you use for basic auth. Input: An integer n > 0 that represents number of testcases. For each testcase, there will be two lines: one with an integer, which tells you the number of single space separated integers in the following line: Output: For each testcase, return a line with an integer which is the sum of the squares of the non-negative integers in the second line of the input. e.g.: Input: 2 4 1 -3 8 2 3 -1 5 -3 Output 86 25

Resposta da entrevista

Sigiloso

5 de jul. de 2024

Recursion