← Microsoft questions

Carries during addition, triplets with product m, and array sorting swaps

Filed under Microsoft

Solve three sub-problems: 1) Count the number of carries generated when adding two non-negative integers represented as strings or numbers. 2) Given an array of distinct integers and an integer 'm'…

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

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