An Armstrong Number is a number that is the sum of its own digits each raised to the power of the number of digits.

29 Complex Number

2015-07-24

A complex number is a combination of real and imaginary numbers. A+Bi is a complex number where A is the real number and B is the imaginary number.

30 Fibonacci Number

2015-07-24

Fibonacci number is a number that start with one or zero and next number is equal to the sum of previous two numbers. Ex F (0) = 0, 1, 1, 2, 3, 5, 8, 13, 21, 34..

31 Greatest Common Divisor

2015-07-24

Greatest Common Divisor(GCD) is the largest positive integer that divides the numbers without a remainder

32 LRU Cache

2015-07-24

Least Recently Used (LRU) cache algorithm remove the least recently used items first

33 Palindrome Number

2015-07-24

A palindromic number is a number that remains the same when its digits are reversed

34 Power

2015-07-24

Power involves two numbers with a base a and the exponent n. Example 3 pow 4 = 3 x 3 x 3 x 3 = 81

35 is Prime

2015-07-24

Prime Number is a number which can be divided evenly only by 1, or itself.

36 Reverse Integer

2015-07-24

Reverse Integer reverses the given integer digits to reverse order. Example x=123 and output y=321

37 subsets With Duplicate

2015-07-24

Detect duplicate in a subset from a set of elements