← Nagarro questions
CodingEasyReported in a candidate post, Feb 2021

Electrostatic: Net charge from positive and negative values

Filed under Nagarro

Given an array of integer values and a corresponding array of character flags where 'P' indicates a positive charge and 'N' indicates a negative charge, sum all positive numbers and subtract all…

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 Nagarro questions

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