DEV Community

Discussion on: You're not worth hiring unless...

Collapse
 
r7e98kva profile image
Markus

I also don'tget the answer 🤔
Regarding the name I'd expect [10,2]

for(int i=0;i<a.length;i++) {
result[i]=a[i]+b[i];
}
return result;

Unfortunately I don't work as a developer, it's just a hobby 😟

Collapse
 
vanduc1102 profile image
Duc Nguyen • Edited

it is for handling big integer add,
if you have 2 numbers:
for example: 123123123123123123123712931290 + 987837298748923749823749823749238472 = ?

you have 2 big arrays of digits represented 2 big integers, we want you to do the ADD operator into a single array.

Thread Thread
 
derekanderson profile image
Derek Anderson

Your original post didn't say "an array of big integers" nor as of the time of writing this was it updated. Waste of my time. Are you sure they didn't know or said I don't want to work here? :)