Community Profile

# Oliver Warlow

### Rolls-Royce Plc.

200 total contributions since 2019

#### Oliver Warlow's Badges

View details...

Contributions in
View by

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

2 days ago

Solved

Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

1 month ago

Solved

Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

1 month ago

Solved

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

1 month ago

Solved

How long is the longest prime diagonal?
Stanislaw Ulam once observed that if the counting numbers are <http://en.wikipedia.org/wiki/Ulam_spiral arranged in a spiral>, t...

3 months ago

Solved

Will there be a new leader?
Simply answer the title.

3 months ago

Solved

Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

3 months ago

Solved

Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

3 months ago

Solved

Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

3 months ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

3 months ago

Solved

Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

3 months ago

Solved

0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

3 months ago

Solved

Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

3 months ago

Solved

Rounding
Round 10.67 and make 'y' equal to that number.

3 months ago

Solved

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

3 months ago

Solved

Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

3 months ago

Solved

Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

3 months ago

Solved

Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

3 months ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

3 months ago

Solved

Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

3 months ago

Solved

Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

3 months ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

3 months ago

Solved

Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

3 months ago

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

3 months ago

Solved

find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

3 months ago

Solved

matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

3 months ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

3 months ago

Solved

Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

3 months ago

Solved

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

3 months ago

Solved

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

3 months ago