Solved


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

5 years ago

Solved


Max of a Vector
Write a function to return the max of a vector

5 years ago

Solved


Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...

5 years 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';

5 years ago

Solved


Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

5 years ago

Solved


Number Puzzle - 117

5 years ago

Solved


Number Puzzle - 116

5 years ago

Solved


Number Puzzle - 115

5 years ago

Solved


Number Puzzle - 114

5 years ago

Solved


Number Puzzle - 113

5 years ago

Solved


Number Puzzle - 112

5 years ago

Solved


Number Puzzle - 111

5 years ago

Solved


Number Puzzle - 110

5 years ago

Solved


Number Puzzle - 109

5 years ago

Solved


Number Puzzle - 108

5 years ago

Solved


Number Puzzle - 107

5 years ago

Solved


Number Puzzle - 106

5 years ago

Solved


Number Puzzle - 105

5 years ago

Solved


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

5 years ago

Solved


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

5 years ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

5 years ago

Solved


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

5 years ago

Solved


Number Puzzle - 096

5 years ago

Solved


Number Puzzle - 094

5 years ago

Solved


Number Puzzle - 093

5 years ago

Solved


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

5 years ago

Solved


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

5 years ago

Solved


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

5 years ago

Load more