Gelöst


Adding numbers
Add two numbers together

mehr als 10 Jahre vor

Gelöst


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

mehr als 10 Jahre vor

Gelöst


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

mehr als 10 Jahre vor

Gelöst


Sum of Matrix
Sum of Matrix

mehr als 10 Jahre vor

Gelöst


Step up
For given input array, output a array with all elements step up by two

mehr als 10 Jahre vor

Gelöst


Sum of elements of array
Sum of elements of array

mehr als 10 Jahre vor

Gelöst


prime to each other
Given two integers n1, n2 greater than 1, find out if they are prime to each other.

mehr als 10 Jahre vor

Gelöst


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

mehr als 10 Jahre vor

Gelöst


FInd an Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find an area of polygon enclosed by the ...

mehr als 10 Jahre vor

Gelöst


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

mehr als 10 Jahre vor

Gelöst


Magic Concentric Circles
Consider 4 magic circle circles around a single number in the sequence 1:n where the sum along the diameters is always equal, an...

mehr als 10 Jahre vor

Gelöst


Genome Sequence 001: Introductory DNA Sequencing
This Challenge series will evolve the complexity of Genome DNA Sequencing. <http://en.wikipedia.org/wiki/Genome DNA Sequencing> ...

mehr als 10 Jahre vor

Gelöst


SLP Calculation
The SLP Calculation Challenge is to implement SLP sequences and output the result as a string. SLP, Straight Line Program, creat...

mehr als 10 Jahre vor

Gelöst


Largest Geometric Series
Extension of Ned Gulley's wonderful <http://www.mathworks.com/matlabcentral/cody/problems/317 Problem 317>. In a geometric se...

mehr als 10 Jahre vor

Gelöst


Data decompression
A chunk of data is to be 'decompressed'. Input: * compressed: a row vector of uint8 values. This is the compressed data. ...

mehr als 10 Jahre vor

Gelöst


Probability of Choosing a Red Ball
Given two jars of red and blue balls, find the probability of choosing a red ball from Jar 1 after going through the steps. ...

mehr als 10 Jahre vor

Gelöst


Change number representation to HEX
Given a number change it's representation to HEX and output it.

mehr als 10 Jahre vor

Gelöst


Hamming Weight - Fast
The Hamming Weight, <http://en.wikipedia.org/wiki/Hamming_weight wiki Hamming Weight>, in its most simple form is the number of ...

mehr als 10 Jahre vor

Gelöst


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

mehr als 10 Jahre vor

Gelöst


A Poker Hand
Texas Hold ‘Em is a classical card game. In this problem, we are concerned with determining the probability of attaining a certa...

mehr als 10 Jahre vor

Gelöst


Consecutive Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on the largest consecutive run of ...

mehr als 10 Jahre vor

Gelöst


Equation Times (of the day)
Many times throughout the day can represent mathematical equations. In this problem, we focus on times that include the four bas...

mehr als 10 Jahre vor

Gelöst


Divisible by n, Truncated-number Divisors
Some divisors only require a few numbers at the end of the number in question to determine divisibility, no matter how long. Exa...

mehr als 10 Jahre vor

Gelöst


GJam 2013 China Event: Happy Teams
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p0 GJam 2013 China Bad Horse>. The pr...

mehr als 10 Jahre vor

Gelöst


USC Fall 2012 ACM : Chemical Analysis
This Challenge is to solve Question D, Chemical Analysis, of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012...

mehr als 10 Jahre vor

Gelöst


USC Fall 2012 ACM Question A : Read Input File
This Challenge is to read the Question A input text file of the <http://contest.usc.edu/index.php/Fall12/Home USC ACM Fall 2012 ...

mehr als 10 Jahre vor

Gelöst


Remove TeX from string
Matlab’s TeX support in figure windows is great for displaying information in a visually appealing way. However, many of the TeX...

mehr als 10 Jahre vor

Gelöst


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

mehr als 10 Jahre vor

Gelöst


Find the same and successive values in a vector
Find the same and successive values in a vector. For example: Input x = [ 1 0 0 1 1 1 1 0 1 1 1 0 0 0 1 ] Start and end...

mehr als 10 Jahre vor

Gelöst


Mimic foldl in functional programming
Mimic the higher-order function |foldl| ( <http://en.wikipedia.org/wiki/Fold_%28higher-order_function%29 Wikipedia:Fold (higher-...

mehr als 10 Jahre vor

Mehr laden