Frage im Vorstellungsgespräch bei ServiceNow

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

Antwort im Vorstellungsgespräch

Anonym

21. Apr. 2024

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