Solved


Area of the yellow shaded region

bijna 2 jaar ago

Solved


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

bijna 2 jaar ago

Solved


Wrap a vector, but insert NaN's at the wrap-positions.
When you plot a line that wraps, and do not want the sawtooth shape to show up in the plot, you can either draw all separate lin...

bijna 2 jaar ago

Problem


Chain multiplication - 04
Following up on the problem in 55305, you found the optimal way to multiply a chain of matrices. However, here in this problem,...

bijna 2 jaar ago | 2 | 4 solvers

Solved


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

bijna 2 jaar ago

Problem


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

bijna 2 jaar ago | 0 | 9 solvers

Solved


Chain multiplication - 02
Following up the problem in 55295, you found the number of multiplications needed to multiply two matrices. Now, you are given ...

bijna 2 jaar ago

Problem


Chain multiplication - 02
Following up the problem in 55295, you found the number of multiplications needed to multiply two matrices. Now, you are given ...

bijna 2 jaar ago | 1 | 11 solvers

Solved


Sort Non-zeros
Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

bijna 2 jaar ago

Problem


Sort Non-zeros
Consider 0s in a vector creates a break-point. sort all the sub-arrays created by those break points. For example, a = [3, 4, 1...

bijna 2 jaar ago | 2 | 13 solvers

Solved


Draw a Diamond shape in ones Matrix with '0' s
Input will be odd numbers.The task is to make a Diamond shape in a ones matrix with '0's where the matrix will be a square matri...

bijna 2 jaar ago

Solved


Weird Diagonal Matrix!!
**If you have loved the problem, please like it below(Request)** Given an integer n, create a matrix whose diagonal elements wi...

bijna 2 jaar ago

Solved


Chain multiplication - 01
Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

bijna 2 jaar ago

Problem


Chain multiplication - 01
Say, you are given two matrices - A (shape= 3*4) and B(shape = 4*5). If you multiply these two matrices, the resultant matrix w...

bijna 2 jaar ago | 2 | 25 solvers

Solved


Cut the rod
A rod of length n can be cut in different sizes. Different price is associated with different length of cuts. length, len= [1,...

bijna 2 jaar ago

Problem


Cut the rod
A rod of length n can be cut in different sizes. Different price is associated with different length of cuts. length, len= [1,...

bijna 2 jaar ago | 3 | 8 solvers

Solved


Count the peaceful queens
In a 5x5 chessboard with a queen of one color (white, say) on the perimeter, one can place 12 black queens on the board such tha...

bijna 2 jaar ago

Solved


Number of leaps in binary search
Binary search is one of the most popular searching algorithms (Binary Search Algorithm). It works only in a sorted array. It uti...

bijna 2 jaar ago

Problem


Number of leaps in binary search
Binary search is one of the most popular searching algorithms (Binary Search Algorithm). It works only in a sorted array. It uti...

bijna 2 jaar ago | 0 | 7 solvers

Solved


Sum of series IX

bijna 2 jaar ago

Solved


Sum of series VIII

bijna 2 jaar ago

Solved


Remnant

meer dan 2 jaar ago

Solved


Return multiples of 3

meer dan 2 jaar ago

Solved


print

meer dan 2 jaar ago

Solved


step function

meer dan 2 jaar ago

Solved


Test

meer dan 2 jaar ago

Solved


Swap

meer dan 2 jaar ago

Solved


Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

meer dan 2 jaar ago

Solved


Digits Multiplication

meer dan 2 jaar ago

Solved


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

meer dan 2 jaar ago

Load more