Joselito Flores
2016년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Beat the test suite if you can :)
Solve this problem based on clues in the test suite.
7년 초과 전
문제를 풀었습니다
Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...
7년 초과 전
문제를 풀었습니다
Combine the digits to output numbers
input could be of any length e.g. 1. in1 = 1 in2 = 2 output = 12 2. in1 = 2 in2 = 1 in3 = 0 output = 210
7년 초과 전
문제를 풀었습니다
Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping
7년 초과 전
문제를 풀었습니다
Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave
7년 초과 전
문제를 풀었습니다
Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave
7년 초과 전
문제를 풀었습니다
Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...
7년 초과 전
문제를 풀었습니다
Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t
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년 초과 전
문제를 풀었습니다
Create tangent function out of cosine only
Please don't use tangent and sine functions
7년 초과 전
문제를 풀었습니다
Create tangent function out of sine function only
Please don't use cosine and tangent functions
7년 초과 전
문제를 풀었습니다
Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1...
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년 초과 전
문제를 풀었습니다
Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; ...
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년 초과 전
문제를 풀었습니다
Square of the sum of optimus
Get the square of the sum of all primes given the limit input x
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전