Gelöst


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

fast 10 Jahre vor

Gelöst


find lenth of array
you have given an array, find the length of that.

fast 10 Jahre vor

Gelöst


add each element with 4
You have given a array. Add 4 to each element of that array.

fast 10 Jahre vor

Gelöst


add two numbers
two numbers given, output should addition of them.

fast 10 Jahre vor

Gelöst


Square root of 100
Find the square root of 100

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


Divide all elements by 3
Give an array. Divide all the elements by 3.

fast 10 Jahre vor

Gelöst


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

fast 10 Jahre vor

Gelöst


Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

fast 10 Jahre vor

Gelöst


add each element with 4
You have given a array. Add 3 to each element of that array.

fast 10 Jahre vor

Gelöst


add each element with 3
You have given a array. Add 3 to each element of that array.

fast 10 Jahre vor

Gelöst


add each element with 10
You have given a array. Add 10 to each element of that array.

fast 10 Jahre vor

Gelöst


find square root of a positive real number
a number given, find the square root of that number

fast 10 Jahre vor

Gelöst


find square root of 9
find square root of 9

fast 10 Jahre vor

Gelöst


find 90-45
find 90-45

fast 10 Jahre vor

Gelöst


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

fast 10 Jahre vor

Gelöst


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

fast 10 Jahre vor

Gelöst


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

fast 10 Jahre vor

Gelöst


add each element with 2
You have given a array. Add 2 to each element of that array.

fast 10 Jahre vor

Gelöst


Find subtraction
Given a, b. Find a-b

fast 10 Jahre vor

Gelöst


find square root of 16
find square root of 9

fast 10 Jahre vor

Gelöst


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

fast 10 Jahre vor

Gelöst


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

fast 10 Jahre vor

Gelöst


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

fast 10 Jahre vor

Gelöst


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

fast 10 Jahre vor

Gelöst


Is the paranthesis sequence balanced ?
Quantum mechanics and computer science are interested in <http://en.wikipedia.org/wiki/Bra%E2%80%93ket_notation bra-kets>. Today...

fast 10 Jahre vor

Gelöst


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

fast 10 Jahre vor

Gelöst


Double summation
Write two nested for loops to calculate the following double summation: <<https://drive.google.com/uc?id=0B74PAULDIwwsWFhlNTV...

fast 10 Jahre vor

Gelöst


While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...

fast 10 Jahre vor

Gelöst


Compute change
A cashier distributes change using the maximum number of five dollar bills, followed by one dollar bills. Given amountToChange, ...

fast 10 Jahre vor

Mehr laden