문제를 풀었습니다


Minimal Path - 04
Given a matrix, find the minimal path sum from any cell in the left column and finishing in any cell in the right column. You...

대략 6년 전

문제


Minimal Path - 04
Given a matrix, find the minimal path sum from any cell in the left column and finishing in any cell in the right column. You...

대략 6년 전 | 0 | 솔버 수: 9

문제를 풀었습니다


Minimal Path - 03
Given a matrix, find the minimal path sum from the top left to the bottom right corner. Now you can move up, right & down. ...

대략 6년 전

문제


Minimal Path - 03
Given a matrix, find the minimal path sum from the top left to the bottom right corner. Now you can move up, right & down. ...

대략 6년 전 | 0 | 솔버 수: 9

문제를 풀었습니다


Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

대략 6년 전

문제


Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

대략 6년 전 | 0 | 솔버 수: 11

문제를 풀었습니다


Don't be Too Greedy!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45416-don-t-be-greedy> A list of assignments...

대략 6년 전

문제를 풀었습니다


Graph Algorithms 3: Number of Connected Components
Given an adjacency matrix of a simple undirected graph, find the number of connected components.

대략 6년 전

문제를 풀었습니다


Determine connected components of a graph
Adjacency matrix of an undirected graph is given. Return the number of connected components in the graph.

대략 6년 전

문제를 풀었습니다


Most Frequent Word - 01
Given a document file or a character array, find out the most frequent word in that document. In the case of multiple words -...

대략 6년 전

문제


Most Frequent Word - 01
Given a document file or a character array, find out the most frequent word in that document. In the case of multiple words -...

대략 6년 전 | 1 | 솔버 수: 32

문제를 풀었습니다


Spiral Out - 02
An array is given. Convert it into a spiral matrix. For example, a=1:27; out=[21 22 23 24 25 26 20 ...

대략 6년 전

문제


Spiral Out - 02
An array is given. Convert it into a spiral matrix. For example, a=1:27; out=[21 22 23 24 25 26 20 ...

대략 6년 전 | 1 | 솔버 수: 10

문제를 풀었습니다


Spiral Out - 01
Create a spiral matrix ( clock-wise direction ) of size n. Try to do that without using the built-in function.

대략 6년 전

문제


Spiral Out - 01
Create a spiral matrix ( clock-wise direction ) of size n. Try to do that without using the built-in function.

대략 6년 전 | 0 | 솔버 수: 21

문제를 풀었습니다


Don't be Too Greedy!!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45450-don-t-be-too-greedy> For this time, ca...

대략 6년 전

문제


Don't be Too Greedy!!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45450-don-t-be-too-greedy> For this time, ca...

대략 6년 전 | 0 | 솔버 수: 9

문제


Don't be Too Greedy!
Refer to the prev problem <https://www.mathworks.com/matlabcentral/cody/problems/45416-don-t-be-greedy> A list of assignments...

대략 6년 전 | 0 | 솔버 수: 8

문제를 풀었습니다


Persistent Usage
This Challenge is to implement the Matlab Persistent variable capability. Given a sequence of Calls to a function return the ...

대략 6년 전

문제를 풀었습니다


PEMDAS test
Create the function that will return the following expression for x and y. <<https://i.ibb.co/RHWyzrv/Code-Cogs-Eqn-1.gif>> ...

대략 6년 전

문제를 풀었습니다


Generate n equally spaced "intervals" between -x and x
Given n and x, return a list of numbers (in ascending order) that divides the interval [-x x] into n equal-length intervals. ...

대략 6년 전

문제를 풀었습니다


Create logarithmically spaced values
Given three numbers a,b,n with b>a, create a vector y with n logarithmic spaced values between 10^a and 10^b. Thus, if a = -2, ...

대략 6년 전

문제를 풀었습니다


Create a vector of n alternating ones and zeros
Given n, your output should be a vector y of numnbers such that the first number is 1 and the numbers following it alternate bet...

대략 6년 전

문제를 풀었습니다


Create a vector of the first n odd numbers
If n = 10, your program should return a vector y, where y = [1 3 5 7 9 11 13 15 17 19].

대략 6년 전

문제를 풀었습니다


Element-wise vector product
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

대략 6년 전

문제를 풀었습니다


Put two time series onto the same time basis
Use interpolation to align two time series onto the same time vector. This is a problem that comes up in <http://www.mathwork...

대략 6년 전

문제를 풀었습니다


Vector raised to a power (element-wise)
Given a vector A and a number x, raise each element of the vector to the power of x. Thus, if A = [2 5 7 1] and x = 0.5, then ...

대략 6년 전

문제를 풀었습니다


Create a vector with n repeated values of a number x
If x=3 and n=7 then the vector y would be y=[3 3 3 3 3 3 3]

대략 6년 전

문제를 풀었습니다


Create a vector of the first n naturnal numbers
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].

대략 6년 전

문제를 풀었습니다


Product of a and b
return the value of c = a*b

대략 6년 전

더 보기