take an array of sorted numbers and return each number squared and sorted. Be sure to account for negative numbers.
Anonimo
There's quite an extended back and forth in actual interviews for questions like this, so nothing quite like real practice. The Prepfully MongoDB Curriculum Engineer experts have actually worked in this role, so they're able to do an honest-to-God accurate mock, which really puts you through the paces. prepfully.com/practice-interviews