Frage im Vorstellungsgespräch bei Delivery Hero

Live exercise: Flatten a list of lists on Coderpad (Python)

Antwort im Vorstellungsgespräch

Anonym

8. Dez. 2021

Use an algorithm to be invoked recursively when the element's type is list. Otherwise, just append the element to the solution.