Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

mer än ett år ago

Solved


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

mer än ett år ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

mer än ett år ago

Solved


Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-Dig...

mer än ett år ago

Solved


The Tower of Hanoi
In the <http://en.wikipedia.org/wiki/Tower_of_Hanoi Tower of Hanoi problem> with 3 rods (1, 2 & 3), the goal is to move a tower ...

mer än ett år ago

Solved


Compute Fibonacci Number
Compute the n-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

mer än ett år ago

Solved


Energy Conversion 2

mer än ett år ago

Solved


Energy Conversion 1

mer än ett år ago

Solved


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

mer än ett år ago

Solved


Area Conversion 2

mer än ett år ago

Solved


Area Conversion 1

mer än ett år ago

Solved


Mass Conversion 2

mer än ett år ago

Solved


Mass Conversion 1

mer än ett år ago

Solved


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

mer än ett år ago

Solved


Temperature Conversion 2

mer än ett år ago

Solved


Temperature Conversion 1

mer än ett år ago

Solved


Total energy

mer än ett år ago

Solved


Potential energy calculation

mer än ett år ago

Solved


Kinetic energy calculation

mer än ett år ago

Solved


Laws of motion 1

mer än ett år ago

Solved


Laws of motion 2

mer än ett år ago

Solved


Laws of motion 3

mer än ett år ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

mer än ett år ago

Solved


Laws of motion 5

mer än ett år ago

Solved


Laws of motion 6

mer än ett år ago

Solved


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

mer än ett år ago

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

mer än ett år ago

Solved


Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

mer än ett år ago

Solved


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

mer än ett år ago

Solved


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

mer än ett år ago

Load more