Add Numbers

Problem Overview

  • Add two numbers given as lists of digits and output the sum's digits in reverse order.
  • Input: list1_size N with N integers; list2_size M with M integers. Output: K space-separated integers for the reversed sum.
  • Domain: processing large integers via list/array representation.
  • From Cisco interviews; a coding interview problem and common interview question.

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Input Variables
Execution Result: