Gelöst


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...

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


Number Puzzle - 117

etwa 5 Jahre vor

Gelöst


Number Puzzle - 116

etwa 5 Jahre vor

Gelöst


Number Puzzle - 115

etwa 5 Jahre vor

Gelöst


Number Puzzle - 114

etwa 5 Jahre vor

Gelöst


Number Puzzle - 113

etwa 5 Jahre vor

Gelöst


Number Puzzle - 112

etwa 5 Jahre vor

Gelöst


Number Puzzle - 111

etwa 5 Jahre vor

Gelöst


Number Puzzle - 110

etwa 5 Jahre vor

Gelöst


Number Puzzle - 109

etwa 5 Jahre vor

Gelöst


Number Puzzle - 108

etwa 5 Jahre vor

Gelöst


Number Puzzle - 107

etwa 5 Jahre vor

Gelöst


Number Puzzle - 106

etwa 5 Jahre vor

Gelöst


Number Puzzle - 105

etwa 5 Jahre vor

Gelöst


Splitting Square - Problem the first

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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 ...

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Gelöst


Number Puzzle - 096

etwa 5 Jahre vor

Gelöst


Number Puzzle - 094

etwa 5 Jahre vor

Gelöst


Number Puzzle - 093

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Gelöst


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...

etwa 5 Jahre vor

Mehr laden