문제


Compute a sum
Write a function to compute the following sum Although a solution is available for general values of the coefficients, the co...

3개월 전 | 1 | 솔버 수: 6

문제를 풀었습니다


Fast Fourier transform algorithm
Your task is to implement the Fast Fourier transform algorithm, without using builtin MATLAB fft commands e.g. fft, fft2, or har...

3개월 전

문제를 풀었습니다


Optimally fill a container with elements of different sizes
Given a row vector V of different numerical values and a size limit L, return a 1x2 vector A, containing (a) the largest sum of ...

3개월 전

문제를 풀었습니다


Find the largest sum of any contiguous subarray
Given an array of N integers, find the contiguous subarray (which must contain at least one number) with the maximum sum and ret...

3개월 전

문제를 풀었습니다


Largest Rectangle Area in a Histogram
Given a histogram represented by an array of integers, e.g., [2, 1, 4, 5, 1, 3, 3] : find the maximum area of a rectangle tha...

3개월 전

문제를 풀었습니다


Calculating the Union Area of Overlapping Rectangles
Calculate the area covered by a union of multiple rectangles. Each rectangle is represented by 4 integers: the first two integer...

3개월 전

문제를 풀었습니다


Reversing Maximal Ascending Subsequences
Create and return a new array that contains the same elements as the input array, but with the elements within each strictly inc...

3개월 전

문제를 풀었습니다


Secret Message and Acrostic
One of the simplest ways to hide a message involves utilizing uppercase letters. Given a text, collect all uppercase letters in...

3개월 전

문제를 풀었습니다


String Find with Wildcards of a Cell array
Given a cell array of strings and a search string with single character (?) or multiple character (*) wildness return the indice...

3개월 전

문제를 풀었습니다


Find the quantization index of an analog value using a 6-bit quantizer.
Given a sinusoidal waveform x(t)=4.5*sin(2*pi*100*t) is sampled at 8000 sample per second. Assume that signal range is between -...

3개월 전

문제를 풀었습니다


Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

3개월 전

문제를 풀었습니다


Minimum Distance Point to Segment
This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

3개월 전

문제를 풀었습니다


Speed of light:Experiment
in 1849, Fizeau set up an experiment to measure the speed of light. The discription of this experiment can be found on wikipedi...

3개월 전

문제를 풀었습니다


Find the Peak Particle Velocity on a ETL structure
PPV is a vibration parameter that can connect stress to a structure, it is measured in mm/s or mm/s-1. The higher the PPV the mo...

3개월 전

문제를 풀었습니다


Logic 7

3개월 전

문제를 풀었습니다


Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...

3개월 전

문제


Compute a sequence with the whyphi sieve
A few problems on Cody involve sieving. For example, Cody Problem 45367 involves the famous Sieve of Eratosthenes. CP 50811uses ...

3개월 전 | 0 | 솔버 수: 3

문제를 풀었습니다


USC Fall 2012 ACM : Code Word Minimum Flipped Bits
This Challenge is to solve Question A of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012 Contest>. Given ...

3개월 전

문제를 풀었습니다


Easy Sequences 40: Quadratic Congruence
Quadratic Congruence is a modular equation of the form: . In this exercise you will be given a vector containing the coefficie...

3개월 전

문제를 풀었습니다


Alternate Arrangement
Determine the ways of arranging 'm' men and 'w' women alternatively in a row of 's' seats. Assumptions : s<m and s<w

3개월 전

문제를 풀었습니다


Draw the Greek letter 'α'
Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider t...

3개월 전

문제를 풀었습니다


Opposite point of the earth, what is the antipodal of a point ?
Given two strings(lat and long) that represent the geographic coordinates of a point in the earth, you have to find out what is ...

3개월 전

문제


Alert a city about a spill
Problem statement Cody Problem 54750 involved determining the length of a stream affected by a spill. Any municipalities within...

3개월 전 | 2 | 솔버 수: 4

문제


Find primes and integers that solve an equation
Write a function to find all primes and non-negative integers that solve the equation where is an integer. If there are no...

3개월 전 | 1 | 솔버 수: 6

문제를 풀었습니다


Find the triplet
Given an array x of size n > 3 and an integer N, return the indices of three elements in the array that sum up to the given inte...

3개월 전

문제를 풀었습니다


Cos x
Retorne o cosseno de x, onde x está em radianos

3개월 전

문제를 풀었습니다


Número de elementos do array
Retorne o número de elementos de um array

3개월 전

문제를 풀었습니다


Valor absoluto de x
Dado uma entrada x, retornar o seu valor absoluto

3개월 전

문제를 풀었습니다


Seno de x
Calcule o seno de x, onde x está em radianos

3개월 전

문제를 풀었습니다


Eleve ao cubo!
dado uma entrada x, encontre o seu cubo

3개월 전

더 보기