A résolu


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

plus de 2 ans il y a

A résolu


String Logic 13
Examples: 'CAT' --> 'TCA' 'DOG' --> 'OGD' 'ROSY' --> 'YSRO' 'MOSTLY' --> 'YTSOML'

plus de 2 ans il y a

A résolu


Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...

plus de 2 ans il y a

A résolu


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

plus de 2 ans il y a

A résolu


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

plus de 2 ans il y a

A résolu


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

plus de 2 ans il y a

A résolu


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

plus de 2 ans il y a

A résolu


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

plus de 2 ans il y a

A résolu


Double the length of the vector

plus de 2 ans il y a

A résolu


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

plus de 2 ans il y a

A résolu


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

plus de 2 ans il y a

A résolu


Sum two matrices
Take two incoming matrices, and sum them

plus de 2 ans il y a

A résolu


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

plus de 2 ans il y a

A résolu


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

plus de 2 ans il y a

A résolu


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

plus de 2 ans il y a

A résolu


reverse the order and combine a matrix

plus de 2 ans il y a

A résolu


Linear Motion 4
A robot accelerates at a rate of A ft/s2. Assuming the robot starts from rest how much time is required to reach an object loca...

plus de 2 ans il y a

A résolu


Weave two matrices together to form one matrix
Take the first column from matrix a, then insert the first column from matrix b, and so on. For example: a = [1 2 3 4]; b ...

plus de 2 ans il y a

A résolu


Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

plus de 2 ans il y a

A résolu


Sum of integers numbers
Sum of the numbers from 1 to 100

plus de 2 ans il y a

A résolu


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

plus de 2 ans il y a

A résolu


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

plus de 2 ans il y a

A résolu


String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

plus de 2 ans il y a

A résolu


String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

plus de 2 ans il y a

A résolu


String Logic 12
Examples: 'CAT' --> 'ACT' 'DOG' --> 'DGO' 'ROSY' --> 'ORSY' 'MOSTLY' --> 'LMOSTY'

plus de 2 ans il y a

A résolu


Find the number of primes less than input
Given an integer n, determine the number of primes less than or equal to n.

plus de 2 ans il y a

A résolu


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

plus de 2 ans il y a

A résolu


Matrix Max Finder
Output the maximum value in a matrix

plus de 2 ans il y a

A résolu


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

plus de 2 ans il y a

A résolu


Determine whether the number is multiple of 3 or not
Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

plus de 2 ans il y a

Charger plus