문제


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

3년 초과 전 | 2 | 솔버 수: 15

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제


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

3년 초과 전 | 2 | 솔버 수: 29

문제를 풀었습니다


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

3년 초과 전

문제


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

3년 초과 전 | 3 | 솔버 수: 12

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제


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

3년 초과 전 | 0 | 솔버 수: 10

문제를 풀었습니다


Sum of series IX

3년 초과 전

문제를 풀었습니다


Sum of series VIII

3년 초과 전

문제를 풀었습니다


Remnant

4년 초과 전

문제를 풀었습니다


Return multiples of 3

4년 초과 전

문제를 풀었습니다


print

4년 초과 전

문제를 풀었습니다


step function

4년 초과 전

문제를 풀었습니다


Test

4년 초과 전

문제를 풀었습니다


Swap

4년 초과 전

문제를 풀었습니다


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

4년 초과 전

문제를 풀었습니다


Digits Multiplication

4년 초과 전

문제를 풀었습니다


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

4년 초과 전

문제를 풀었습니다


Normalizing a vector

4년 초과 전

문제를 풀었습니다


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

4년 초과 전

문제를 풀었습니다


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

4년 초과 전

문제를 풀었습니다


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

4년 초과 전

문제를 풀었습니다


Min-Max digit

4년 초과 전

문제를 풀었습니다


Draw a x-by-x matrix British flag (Euro 2020)
Draw a x-by-x matrix 'British flag' using '0' and '1'.(x is odd and bigger than 4) x = 5 answer = [0 0 1 0 0 ...

4년 초과 전

문제를 풀었습니다


imaginary

4년 초과 전

문제를 풀었습니다


Factorial

4년 초과 전

문제를 풀었습니다


Size

4년 초과 전

더 보기