Risolto


Area of the yellow shaded region

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 2 | 4 risolutori

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 0 | 9 risolutori

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 1 | 11 risolutori

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 2 | 13 risolutori

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 2 | 25 risolutori

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 3 | 8 risolutori

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Problema


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

quasi 2 anni fa | 0 | 7 risolutori

Risolto


Sum of series IX

quasi 2 anni fa

Risolto


Sum of series VIII

quasi 2 anni fa

Risolto


Remnant

oltre 2 anni fa

Risolto


Return multiples of 3

oltre 2 anni fa

Risolto


print

oltre 2 anni fa

Risolto


step function

oltre 2 anni fa

Risolto


Test

oltre 2 anni fa

Risolto


Swap

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Risolto


Digits Multiplication

oltre 2 anni fa

Risolto


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

oltre 2 anni fa

Carica altro