leetle

Daily challenge for 2025-04-15

105. Flatten a 2D Vector

Write a function solve that flattens a 2D vector into a 1D list.

Example:
Input: [[1,2],[3],[4,5,6]]
Output: [1,2,3,4,5,6]

Run this challenge interactively in Python or JavaScript when the app loads.