Solved


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

5 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

5 years ago

Solved


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

5 years ago

Solved


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

5 years ago

Solved


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

5 years ago

Solved


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

5 years ago

Solved


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

5 years ago

Solved


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

5 years ago

Solved


Calculate square and cube of number
Calculate square and cube of number x

5 years ago

Solved


Remove and Sort
Given a randomized array n, sort it and remove all odd integers. n=5 y = [2 4]

5 years ago

Solved


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

5 years ago

Solved


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

5 years ago

Solved


Calculate volume of box
Calculate the volume of box,hiven its sides

5 years ago

Solved


first element of matrix
find the first elements of a column matrix

5 years ago

Solved


Halder function
Find the halder function value of a number

5 years ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

5 years ago

Solved


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

5 years ago

Solved


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

5 years ago

Solved


Find remainder when x is divided by 3
Find remainder when x is divided by 3

5 years ago

Solved


Times 3 problem
When you enter the number, it should return the number multiplied by 3

5 years ago

Solved


multiply an array by its position number
You have given an array. Multiply an array by its position number

5 years ago

Solved


Log of a number
Write a script that will give the log of x as output.

5 years ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

5 years ago

Solved


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

5 years ago

Solved


Determine if input is divisible by three.
Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

5 years ago

Solved


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

5 years ago

Solved


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

5 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

5 years ago

Solved


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

5 years ago

Solved


Find the last digit
FInd the last digit of a given number. Given number is the input and output should be the last digit of that number.

5 years ago

Load more