A résolu


Determine the square root
Determine the square root of the value the user has entered, n.

plus d'un an il y a

A résolu


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

plus d'un an il y a

A résolu


Equal to their cube
Tell me three real numbers that are equal to their cubes?

plus d'un an il y a

A résolu


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

plus d'un an il y a

A résolu


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

plus d'un an il y a

A résolu


So many choices
For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

plus d'un an il y a

A résolu


Negative matrix
Change the sign of all elements in given matrix.

plus d'un an il y a

A résolu


Will there be a new leader?
Simply answer the title.

plus d'un an il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus d'un an il y a

A résolu


only input
Return the output without writing any code into the function.

plus d'un an il y a

A résolu


Reverse a matrix
Its simple. You have to reverse a given matrix.

plus d'un an il y a

A résolu


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

plus d'un an il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

plus d'un an il y a

A résolu


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

plus d'un an il y a

A résolu


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

plus d'un an il y a

A résolu


Matrix Rotation by 90 Degrees
In this problem, you are tasked with rotating a given matrix by 90 degrees in a counter-clockwise direction. The input will be a...

plus d'un an il y a

A résolu


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

plus d'un an il y a

A résolu


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

plus d'un an il y a

A résolu


Square root of a number
Write a code that will output the square root of x.

plus d'un an il y a

A résolu


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

plus d'un an il y a

A résolu


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

plus d'un an il y a

A résolu


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

plus d'un an il y a

A résolu


Min of a Matrix
Return the minimum value in the given matrix.

plus d'un an il y a

A résolu


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

plus d'un an il y a

A résolu


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

plus d'un an il y a

A résolu


Array of Ones
Create a 100 X 100 array of ones.

plus d'un an il y a

A résolu


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

plus d'un an il y a

A résolu


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

plus d'un an il y a

A résolu


Find the sum of n squares
What is the sum of the squares of the first n integers?

plus d'un an il y a

A résolu


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

plus d'un an il y a

Charger plus