해결됨

Sum of series VI

What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

4달 전

해결됨

Connect Four Win Checker

<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

4달 전

해결됨

Sum of series V

What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

4달 전

해결됨

Sum of series III

What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

4달 전

해결됨

Sum of series II

What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

4달 전

해결됨

Sum of series I

What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

4달 전

해결됨

Rotate Matrix @180 degree

Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

4달 전

해결됨

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

4달 전

해결됨

Sum of series VII

What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

5달 전

해결됨

Calculate the Levenshtein distance between two strings

This problem description is lifted from <http://en.wikipedia.org/wiki/Levenshtein_distance>. The Levenshtein distance betwee...

5달 전

해결됨

Get the area codes from a list of phone numbers

Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-6...

5달 전

해결됨

Given two strings, find the maximum overlap

Given two strings s1 and s2, create a new string s3 which is as short as possible and contains both strings. If s1 = [1 2...

5달 전

해결됨

Knight's Tour Checker

Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

5달 전

해결됨

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

5달 전

해결됨

Find the two most distant points

Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

5달 전

해결됨

What is the next step in Conway's Life?

Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

5달 전

해결됨

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

6달 전

해결됨

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

6달 전

해결됨

Counting Sequence

Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

6달 전

해결됨

Scrabble Scores

Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provi...

6달 전

해결됨

Summing Digits within Text

Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

6달 전

해결됨

Tic Tac Toe FTW

Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

6달 전