Recursion lessons
Node 22.08.0
Loading editor…
Test casesRun to compare output
Input
words = ["i","love","leetcode","i","love","coding"], k = 2
Output
—
Expected
["i","love"]
More practice
Same technique, different problems. Try them without the walkthrough.