Community Profile

photo

Kurt Yu


2016년부터 활동

통계

  • Promoter
  • Solver

배지 보기

Content Feed

보기 기준

문제를 풀었습니다


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

7년 초과 전

문제를 풀었습니다


Modified Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

7년 초과 전

문제를 풀었습니다


Circular Shift Me
Given a vector v=[1 3 6 9 11], circular shift them while iterating m=[1 3 6 9 11; 11 1 3 6 9; 9 11 1 3 6; 6 9 11 1 3; 3 6 9 1...

7년 초과 전

문제를 풀었습니다


Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

7년 초과 전

문제를 풀었습니다


Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

7년 초과 전

문제를 풀었습니다


Marvel or DC?
Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

7년 초과 전

문제를 풀었습니다


Derive Me Crazy
Given a polynomial, output its derivative. Example: input = [1 0 0] % x^2 output = [2 0] % 2x

7년 초과 전

문제를 풀었습니다


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

7년 초과 전

문제를 풀었습니다


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

7년 초과 전

문제를 풀었습니다


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

7년 초과 전

문제를 풀었습니다


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

7년 초과 전

문제를 풀었습니다


Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

7년 초과 전

문제를 풀었습니다


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

7년 초과 전

문제를 풀었습니다


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

7년 초과 전

문제를 풀었습니다


Ceil Me Now
Get the ceiling of the input matrix

7년 초과 전

문제를 풀었습니다


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 x1 = 123444...

7년 초과 전

문제를 풀었습니다


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

7년 초과 전

문제를 풀었습니다


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

7년 초과 전

문제를 풀었습니다


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

7년 초과 전

문제를 풀었습니다


Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; 2 3; 4 5;] ou...

7년 초과 전

문제를 풀었습니다


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

7년 초과 전

문제를 풀었습니다


Create a code for XNOR
Given two inputs, output XNOR of those two

7년 초과 전

문제를 풀었습니다


Convert radians to degrees
Given input in radians, output to degrees

7년 초과 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

7년 초과 전

문제를 풀었습니다


Create tangent function out of sine function only
Please don't use cosine and tangent functions

7년 초과 전

문제를 풀었습니다


Create tangent function out of cosine only
Please don't use tangent and sine functions

7년 초과 전

문제를 풀었습니다


Create tangent function out of sin and cos
Please don't use tan(x) directly

7년 초과 전

문제를 풀었습니다


Create sine function out of cosine
Please don't use sin(x) directly

7년 초과 전

문제를 풀었습니다


Create cosine function out of sine
Please dont use cos(x) directly

7년 초과 전

문제를 풀었습니다


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

7년 초과 전