Pregunta de entrevista de ServiceNow

Write a function to flatten an array to one level in JavaScript. (LeetCode #2625)

Respuesta de la entrevista

Anónimo

21 abr 2024

This can be done in linear time with a recursive function.