Pergunta de entrevista da empresa Trades.org

Write a function that receives an array and a string and returns the number of times the string appear in the array, but this array can also have nested arrays.

Resposta da entrevista

Sigiloso

24 de jun. de 2023

With JS you write a function and use recursion every time an element is an array.