Solved


Negation the hard way
Write a function that has the following property: f(f(x)) = -x for any numeric array x. Note that there is no restriction on ...

1 year ago

Solved


odd number odd sum
How many three digit numbers are there whose sum of the digits is odd?

1 year ago

Solved


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

1 year ago

Solved


Create co-occurrence matrix

1 year ago

Solved


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the si...

1 year ago

Solved


Palindrome Problem 1
Continued Problem 50033: A palindrome is one-thirteenth of the sum of and , where and are also palindrome. Give an example o...

1 year ago

Solved


Image Series 3 Complementary
Find the Complementary of image which is 8 bits gray scale image. Each pixel is converted to binary format in the image. A...

1 year ago

Solved


Billiards
Considering there are 15 pool balls, (b), in the game of pool, and given a radius, (r). What is the volume, (V), of a rack in th...

1 year ago

Solved


calculate interest saved because of reduction of interest rate
calculate interest saved because of a reduction of interest rate per year (Assuming No leap year) Currently, in India, rate o...

1 year ago

Solved


Mongean Shuffle
A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

1 year ago

Solved


Feeling lucky?
Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

1 year ago

Solved


Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

1 year ago

Solved


Second Diagonal
Transpose the matrix from it's second diagonal.

1 year ago

Solved


Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

1 year ago

Solved


Arrow!!
Write a script that gives (( follow the example)) if x=4 & output= 1 1 1 1 1 1 0 1 1...

1 year ago

Solved


num9
num

1 year ago

Solved


num8
num

1 year ago

Solved


num7
num

1 year ago

Solved


num6
num

1 year ago

Solved


num5
num

1 year ago

Solved


num4
nmjhg

1 year ago

Solved


num3
nam

1 year ago

Solved


Number Puzzles - 004
Give an example of three distinct numbers greater than 10 whose both product and sum are palindromes. The answer is not unique a...

1 year ago

Solved


String vowel manipulation
Given a string, find all the vowels and shift them to the end of the string in the same order as they are found.

1 year ago

Solved


Sum of Arithmetic Progression
Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

1 year ago

Solved


Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix

1 year ago

Solved


Filter British English into American English
Given a sentence written with British spelling, return the sentence with the offending word(s) replaced with the American spelli...

1 year ago

Solved


Add two numbers
Given two numbers a and b add them together

1 year ago

Load more