Solved


Find the number of primes less than input
Given an integer n, determine the number of primes less than or equal to n.

1 year ago

Solved


Percentage profit
If you are buying at x dollar, what will be the selling price for making the r% profit?

1 year ago

Solved


Remove the air bubbles from a vector
_*A reduced version of Problem 112*_ Given a column vector v, return a vector w in which all the zeros have "bubbled" to the ...

1 year ago

Solved


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

1 year ago

Solved


Given a Vector v1, create v2 which is the sum of each two adjacent elements in v1. {length(v2)=length(v1)-1}
if v1 is [1 2 3 4 5 6 7 8] then v2 should be [3 5 7 9 11 13 15]. if v1 is [1; 3; 5; 7] the...

1 year ago

Solved


Number Puzzle - 036

1 year ago

Solved


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

1 year ago

Solved


Given a matrix A (size m x n) create a matrix B which consists of matrix A sorted in descending order by columns and then by rows.
--------------- A= [ 2 6 -3 7 12 0 -12 5 1] --------------- B= [12 7 1 6 2 0 5 -3 ...

1 year ago

Solved


Roots of a quadratic equation.
Calculate the roots of a quadratic equation, given coefficients a, b, and c, for the equation a*x^2 + b*x + c = 0.

1 year ago

Solved


Moore-Penrose pseudoinverse of matrix
Find the command for Moore-Penrose pseudoinverse of matrix and solve

1 year ago

Solved


Number Puzzle - 037

1 year ago

Solved


EZ7
EZ

1 year ago

Solved


EZ9
EZ

1 year ago

Solved


EZ8
EZ

1 year ago

Solved


EZZ
EZZ

1 year 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

1 year ago

Solved


EZ
EZ

1 year ago

Solved


Change number representation to HEX
Given a number change it's representation to HEX and output it.

1 year ago

Solved


Matrix Transposition
Given a matrix and an index, perform matrix transposition as follows - Replace non-corner value of ith ring from outside, with...

1 year ago

Solved


EZ10
EZ

1 year ago

Solved


To convolve two vectors
To convolve two vectors

1 year ago

Solved


EZ6

1 year ago

Solved


EZ4

1 year ago

Solved


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

1 year ago

Solved


EZ5
EZ5

1 year ago

Solved


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

1 year ago

Solved


Number Puzzle - 034

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

1 year ago

Solved


Round the chord length!!

1 year ago

Load more