Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

Category: Number

0

Closest pair of numbers

Problem description : Given a list of unsorted integers, find the pair of elements that have the smallest absolute difference between them? If there are multiple pairs, find them all and return them in...

0

Determine if a number is Odd or not

Problem description : Write a method to determine the given number is odd or not. If it’s not a number then throw an error. Add this method as native javascript method. Input : A...

0

Random Dice Roll Challenge

Problem description : Write a javascript function that accepts a string argument in the format {digit}d{digit}; where The first digit represents the number of dices. The second digit represents the number of sides. The...

0

Fizz-Buzz challenge

Problem description : Write a function that prints the numbers from 1 to 100. But for multiples of three prints Fizz instead of the number and for the multiples of five prints Buzz. For...