BYJU'S TUTOR PLUS Hiring | On-Campus OA (2024) | Count the Digits That Divide a Number

Question · Posted Jun 2026

Problem: Count the Digits That Divide a Number Given an integer num, return the count of digits that divide the number evenly. Digits equal to 0 are ignored. Example Input: num = 121 Output: 2 Explanation: 121 % 1 = 0 121 % 2 ≠ 0 121 % 1 = 0 Answer = 2

The full answer & interview discussion are available to premium members.

Log in Create a free account