Add Digits at Adobe

Easy68.6% acceptance

This problem has 75.0% frequency at Adobe.

Problem Description

Given an integer `num`, repeatedly add all its digits until the result has only one digit, and return it.

Read full problem and hints

Topics

Also asked at 10 companies


More Adobe Questions

View all Adobe questions