解決済み


Area of the yellow shaded region

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

問題


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

2年弱 前 | 2 | 4 個のソルバー

解決済み


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

2年弱 前

問題


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

2年弱 前 | 0 | 9 個のソルバー

解決済み


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

2年弱 前

問題


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

2年弱 前 | 1 | 11 個のソルバー

解決済み


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

2年弱 前

問題


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

2年弱 前 | 2 | 13 個のソルバー

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

問題


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

2年弱 前 | 2 | 25 個のソルバー

解決済み


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

2年弱 前

問題


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

2年弱 前 | 3 | 8 個のソルバー

解決済み


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

2年弱 前

解決済み


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

2年弱 前

問題


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

2年弱 前 | 0 | 7 個のソルバー

解決済み


Sum of series IX

2年弱 前

解決済み


Sum of series VIII

2年弱 前

解決済み


Remnant

2年以上 前

解決済み


Return multiples of 3

2年以上 前

解決済み


print

2年以上 前

解決済み


step function

2年以上 前

解決済み


Test

2年以上 前

解決済み


Swap

2年以上 前

解決済み


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

2年以上 前

解決済み


Digits Multiplication

2年以上 前

解決済み


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

2年以上 前

さらに読み込む