Berkant Bugas
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...
거의 4년 전
문제를 풀었습니다
Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...
거의 4년 전
문제를 풀었습니다
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
거의 4년 전
문제를 풀었습니다
Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...
거의 4년 전
문제를 풀었습니다
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
거의 4년 전
문제를 풀었습니다
De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...
거의 4년 전
문제를 풀었습니다
Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...
거의 4년 전
문제를 풀었습니다
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...
거의 4년 전
문제를 풀었습니다
Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...
거의 4년 전
문제를 풀었습니다
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
거의 4년 전
문제를 풀었습니다
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
거의 4년 전
문제를 풀었습니다
Times 3 problem
When you enter the number, it should return the number multiplied by 3
거의 4년 전
문제를 풀었습니다
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
거의 4년 전
문제를 풀었습니다
Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...
거의 4년 전
문제를 풀었습니다
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
거의 4년 전
문제를 풀었습니다
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
거의 4년 전
문제를 풀었습니다
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
거의 4년 전
문제를 풀었습니다
Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.
거의 4년 전
문제를 풀었습니다
Electric Flux
Calculate the flux passing through a surface. E is electric field, A is area.
거의 4년 전