← SAP questions
CodingMediumReported in a candidate post, Aug 2023

Sum of digits for each integer in an array

Filed under SAP

Given an array of integers, write a function to calculate and return a new array containing the sum of the digits for each integer at the corresponding position. For negative numbers, compute the sum…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related SAP questions

Collected from public candidate posts and coding forums. Updated Nov 2026.