โ† Bajaj Finserv questions
CodingMedium

Sum of digits of power of two

Filed under Bajaj Finserv

The question

Given a number x, raise it to the power of 2. If the resultant number consists of two or more digits, find the sum of digits repeatedly until the sum becomes a single digit.

No write-up yet. Related questions below have one.

Related Bajaj Finserv questions

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