Risolto


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...

oltre un anno fa

Risolto


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...

oltre un anno fa

Risolto


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...

oltre un anno fa

Risolto


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 -...

oltre un anno fa

Risolto


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...

oltre un anno fa

Risolto


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...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


Logic 7

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Problema


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 ...

quasi 2 anni fa | 0 | 4 risolutori

Risolto


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 ...

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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...

quasi 2 anni fa

Risolto


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 ...

quasi 2 anni fa

Problema


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...

quasi 2 anni fa | 2 | 4 risolutori

Problema


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...

quasi 2 anni fa | 1 | 10 risolutori

Risolto


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...

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


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

quasi 2 anni fa

Risolto


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

quasi 2 anni fa

Risolto


Compute the area of a Q
A figure resembling a Q (as in “quadrature”) is constructed in the following way: A right triangle is drawn with the left vertex...

quasi 2 anni fa

Problema


List the smallest numbers with n distinct prime factors
The author of a book I am reading asked a mathematician what it feels like to be sixty. He wrote He replied, “Sixty, sandwiched...

quasi 2 anni fa | 1 | 6 risolutori

Problema


Classify numbers as abundant, deficient, or perfect
A number is perfect if the sum of its proper divisors (i.e., divisors excluding the number itself) is equal to itself. For examp...

quasi 2 anni fa | 0 | 8 risolutori

Risolto


Family Savings Analysis
Given the bank accounts of individuals defined by a list of tuples containing the last name, first name, and savings: accounts ...

quasi 2 anni fa

Problema


Determine whether a property description closes
The arrival of summer makes think back to the summers I spent working for my father’s engineering firm. For the first several s...

quasi 2 anni fa | 1 | 5 risolutori

Carica altro