Risolto


Determine if a Digit is Isolated
A digit is considered isolated if both its left and right neighbors are different from itself. For example, in the number 776444...

oltre 2 anni fa

Risolto


Reverse Integer
You are given an integer, reverse its digits. For negative integers, the sign should remain in the front. For instance, 12340 s...

oltre 2 anni fa

Risolto


End Digits

oltre 2 anni fa

Risolto


Extract Increasing Integers from Digit String
Given a string containing only digits, the function get_integers should return the list of increasing integers obtained by readi...

oltre 2 anni fa

Risolto


Remove Unique Elements
Given a list of integers, we want to keep only the non-unique elements in this list. To do this, we need to remove all the uniqu...

oltre 2 anni fa

Risolto


Final Stone Weight
You are given an array with weights of stones. The objective is to determine the weight of the final stone remaining after all c...

oltre 2 anni fa

Risolto


R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

oltre 2 anni fa

Risolto


Find R*Rp-N*Np=1 given gcd(R,N)=1

oltre 2 anni fa

Risolto


Divisible by n, prime divisors - 11, 13, 17, & 19
Divisibility checks against prime numbers can all be accomplished with the same routine, applied recursively, consisting of add ...

oltre 2 anni fa

Risolto


Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

oltre 2 anni fa

Risolto


An array is given that contains the marks. Find out the highest 3 marks
An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks rec...

oltre 2 anni fa

Risolto


Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

oltre 2 anni fa

Risolto


Knight Moves?
One of my favorite games are chess. Let’s do something with chess. If you don’t know chess, that’s completely fine. You can stil...

oltre 2 anni fa

Risolto


Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

oltre 2 anni fa

Risolto


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

oltre 2 anni fa

Risolto


System of equations
Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

oltre 2 anni fa

Risolto


prime to each other
Given two integers n1, n2 greater than 1, find out if they have common divisors or are prime to each other. Return "true" if the...

oltre 2 anni fa

Risolto


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

oltre 2 anni fa

Risolto


Splitting Square - Problem the first

oltre 2 anni fa

Risolto


Splitting Circle
Consider a circle which has been divided into three concentric circles as depicted in the figure below The ratio betwen the a...

oltre 2 anni fa

Risolto


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

oltre 2 anni fa

Risolto


find out eigenvector of matrix
find out eigenvector of matrix A =eye(3); Answer is [0 0 1; 0 1 0; 1 0 0];

oltre 2 anni fa

Risolto


Find the rank of a matrix
Determine the rank of a matrix without using the MATLAB function of the same name.

oltre 2 anni fa

Risolto


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

oltre 2 anni fa

Risolto


Find Logic 28

oltre 2 anni fa

Risolto


Basic Mathematics 7
Three generous robotics team mentors would jointly like to donate $N toward extra supplies. The second mentor is donating twice ...

oltre 2 anni fa

Risolto


Basic Mathematics 5
The total area of all four equal sections of the game field is N ft². Each section has a rectangle of dimensions X ft x Y ft re...

oltre 2 anni fa

Risolto


Available ingredients + recipe -> number of cakes
Write a function Egg_Milk_Sugar(L, recipe) to determine the maximum number of cakes that can be prepared given a list of availab...

oltre 2 anni fa

Risolto


surface of parallelogram
Given 2 vectors of each 3 elements, determine the surface of the parallelogram which can be created from these 2 vectors.

oltre 2 anni fa

Carica altro