Pergunta de entrevista da empresa Turing

DSA-based array-related question. It was easy, I took time to find the optimal solution for the problem. input: [ 2, 3, 5, 6] outut: [90, 60, 36, 30] The output array is the multiplication of the remaining elements in the array.