Risolto


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

circa 6 anni fa

Risolto


Perimeter of a square!
Calculate the circumference of the square whose side is n

circa 6 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

circa 6 anni fa

Risolto


Duplicate all elements in the array
Duplicate all elements in the array

circa 6 anni fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

circa 6 anni fa

Risolto


Find the max element of the array
Find the max element of the array

circa 6 anni fa

Risolto


to the 2 all elements
to the 2 all elements

circa 6 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

circa 6 anni fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

circa 6 anni fa

Risolto


easy problem
Find the last element of the array

circa 6 anni fa

Risolto


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

circa 6 anni fa

Risolto


String count
given a string 'str', count the number of the followings - * letters * digits * white space * capital letters * smal...

circa 6 anni fa

Risolto


Castling-01
Given the position of only one player's chess pieces(some of them) on the chessboard, figure out whether castling is valid or no...

circa 6 anni fa

Risolto


Capitalize
Capitalize the 1st letter of each input. Other letters should be lowercase. For example - a='alphaS' >> 'Alphas' a='1...

circa 6 anni fa

Risolto


Find Avg of velocity

circa 6 anni fa

Risolto


Power

circa 6 anni fa

Risolto


Which one is More bigger?
we have two input like (x,y) our output (z) must wich one is bigger input.

circa 6 anni fa

Risolto


Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:
A = [1 2 3 4 5 6] ----------- B = [0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]

circa 6 anni fa

Risolto


Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}
if v1 is [1 2 3 4 5 6 7 8] then v2 should be [3 5 7 9 11 13 15]. if v1 is [1; 3; 5; 7] the...

circa 6 anni fa

Risolto


Capitilize the first letter of every word in a string
For a given input string, capitalize every letter at the beginning of a word, and transform the rest of the letters to lower-cas...

circa 6 anni fa

Risolto


How many unique Pythagorean triples?
For a given integer |n|, return all <https://en.wikipedia.org/wiki/Pythagorean_triple Pythagorean triples> that inlude numbers s...

circa 6 anni fa

Risolto


Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

circa 6 anni fa

Risolto


Array ex-OR
There are in MATLAB logical functions such as _<http://www.mathworks.co.uk/help/matlab/ref/and.html and>,_ _<http://www.math...

circa 6 anni fa

Risolto


Inequalities

circa 6 anni fa

Risolto


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

circa 6 anni fa

Problema


List the erauqs

circa 6 anni fa | 2 | 33 risolutori

Risolto


Evaluate the generalized hypergeometric function
The <https://en.wikipedia.org/wiki/Generalized_hypergeometric_function generalized hypergeometric function> is defined as <<...

circa 6 anni fa

Risolto


Eliminate Polysyllabics: Long live short words!
Given a string s1, return s2 in which all the words with more than one syllable have been removed. To make things simple, we ...

circa 6 anni fa

Risolto


Find the coefficient of a number in scientifc notation
Given a non-negative real number N, find the coefficient C and the exponent E of its scientific notation (N = C 10^E). Note that...

circa 6 anni fa

Risolto


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

circa 6 anni fa

Carica altro