Mathematics Probability requires use of probabilistic and statistical reasoning to solve.

Learn more..

Is It Power of Two?

Problem Given an integer, write a function to determine if it is a power of 2. And return a boolean which is True or False. Example Given 128, 128 is 2^7 So, that must return True.
Erkan Ercan
Published on Jan 14th, 2018

Binary Addition

Problem Given two binary strings, return their sum (also a binary string). Example For example, a = "11" b = "1" Return "100" string.
Erkan Ercan
Published on Jan 14th, 2018

Function of if student passes a course

Write a function that decides if a student passes a course or not and returns result. The function receives 2 integer parameters ; first grade and then attendance percentage. If the attendance is bel ...
Emre Dipi
Published on Jan 14th, 2018

Sum of all integer numbers up to N

Write a function that gets an integer num = 20 as argument than returns sum of all integer numbers up to and including number Example Solution When the function called with following input num = 10 ...
Ahmet Önder Gür
Published on Jan 12th, 2018

Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. Example Sol ...
Erkan Ercan
Published on Dec 27th, 2017