Frage im Vorstellungsgespräch bei Rupeek

You can use 2 pointer approach and two sum variable and iterate through both array.

Antwort im Vorstellungsgespräch

Anonym

22. Dez. 2020

Given a sorted array having negative & positive number including zeros as well, return an array which will contains square of each elements in sorted format