Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Find all Armstrong numbers between two given numbers.

Hard

Problem Statement

Find all Armstrong numbers between two given numbers.

Sample Input

100, 500

Sample Output

[153, 370, 371, 407]

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
def find_armstrong_numbers(): start, end = 100, 500 # Your code here return
Log in or sign up to run or submit your code.Log inSign up
Input
100, 500
Expected Output
[153, 370, 371, 407]