Solved


Alternate list of elements
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

6 years ago

Solved


length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

6 years ago

Solved


Odd elimination
Inspired by Project Euler problem #539 You'll be given a vector from 1 to n; Going from left to right, remove the first n...

6 years ago

Solved


Problem 44444 !!! free beer everyone
just say hallelujah to solve this problem

6 years ago

Solved


Matrix to vector transformation
given a matrix, make in the output 1 column vector putting odd numbers in ascending order after that put the even numbers in des...

6 years ago

Solved


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2756

6 years ago

Solved


Number of vertices of a hypercube
Return the number of vertices of a n-dimensional hypercube.

6 years ago

Solved


Find index of a string in a cell array
Write a function that finds the index at which the cell array of strings C contains the exact string S. So if C = {'twe...

6 years ago

Solved


How do you make seven even?
Take away the s.

6 years ago

Solved


microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...

6 years ago

Solved


pizza deals
Given two pizza slices of different sizes: * Slice A with angle alpha1, radius r1, and price p1 * Slice B with angle alpha2,...

6 years ago

Solved


Non trivial identities - reshape
Return x by reshaping it.

6 years ago

Solved


Non trivial identities - flipping
Return x by flipping it.

6 years ago

Solved


Non trivial identities - differentiation
Return x by differentiating it.

6 years ago

Solved


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

6 years ago

Solved


Simple polynomial evaluation
Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0. p(x)=1+x+x^2+...+x^n...

6 years ago

Solved


Non trivial identities - summation
Return x by adding a random number to it.

6 years ago

Solved


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

6 years ago

Solved


Deriving a function using the difference quotient
Write a function that evaluates the derivative of a function in a given point using the well-know formula of the difference quot...

6 years ago

Solved


Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

6 years ago

Solved


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

6 years ago

Solved


Permutations of input vector
Find and output all permutations of given vector

6 years ago

Solved


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

6 years ago

Solved


Calculate Simple Intrest for given data
P,N,R stands for Principle amount, No. of years and rate of intrest resp. Calculate intrest I

6 years ago

Solved


Rank of matrix
Find the rank of given matrix

6 years ago

Solved


To convolve two vectors
To convolve two vectors

6 years ago

Solved


string comparision
compare two strings if both are same return 1 else return 0

6 years ago

Solved


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

6 years ago

Solved


Xor of matrix
you have to set exclusive OR of two arrays

6 years ago

Solved


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

6 years ago

Load more