Given a number, check if it is divisible by 7. You are not allowed to use modulo operator, floating point arithmetic is also not allowed.
A simple method is repeated...
Share
Given an array of n positive integers. Initially we are at first position. We can jump to position y (1 <= x <= n) from position x (1 <= x <= n) if x divi...
Share
Given a number, check if it is divisible by 7. You are not allowed to use modulo operator, floating point arithmetic is also not allowed.
A simple method is repeated...
Share
Given a very large number. Check its divisibility by 15.
Examples:
Input: 31
Output: No
Input : num = "156457463274623847239840239
40239408545884...
Share
Given a large Number the task is to check the number is divisible by 12 or not .
Examples :
Input : 12244824607284961224
Output : Yes
Input : 92387493287593874594898...
Share