Task: Flatten a List of Lists in Scala
Task: Flatten a List of Lists in Scala: a task in Terminal-Lego-15k (Harbor dataset). Implement a Scala program that converts a List List A into a single List A . You must provide two implementations:
The task
Implement a Scala program that converts a `List[List[A]]` into a single `List[A]`. You must provide **two** implementations:
Part of PrimeIntellect/Terminal-Lego-15k.