Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Mathematical School Programming divisibility

Check divisibility by 7

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...
Arrays Dynamic Programming divisibility

Maximum path sum for each position with jumps under divisibility condition

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...
Mathematical School Programming divisibility

Check divisibility by 7

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...
Mathematical divisibility large-numbers

Check if a large number is divisibility by 15

Given a very large number. Check its divisibility by 15. Examples: Input: 31 Output: No Input : num = "156457463274623847239840239 40239408545884...
Mathematical divisibility large-numbers

Divisibility by 12 for a large number

Given a large Number the task is to check the number is divisible by 12 or not . Examples : Input : 12244824607284961224 Output : Yes Input : 92387493287593874594898...

Subscribe to Our Newsletter