Fundamentals
/
Space Complexity
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an array of numbers, return a new array containing each element doubled. Note this uses O(n) extra space.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
8