Gelöst


Find nth number
The numbers 2 and 7 are called lucky numbers, an integer containing only the digits 2 and 7 is also called lucky number. The pro...

11 Monate vor

Gelöst


find the nth fibonacci number
The Fibonacci sequence is defined as follows: give n, find the nth fibonacci number

11 Monate vor

Gelöst


Find the logic and return the nth number (plus)
This problem is the harder version of Problem 61015 given a sequence of numbers arranged in the following order: A=0,1,3,4,9,1...

11 Monate vor

Gelöst


Find the logic and return the nth number
given a sequence of numbers arranged in the following order: A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,...... Write a function th...

11 Monate vor

Gelöst


Find a subset that divides the vector into equal halves --- HARD MODE
This problem is the same as Ned Gulley's problem 660, but the input arrays will be larger. As in problem 660, given a vector ...

11 Monate vor

Gelöst


Vogel-Dobbener entropy
*Vogel-Dobbener entropy* is a measure of dispersion for ordinal variables. Given an ordered list of distinct observations u_...

11 Monate vor

Gelöst


Fun with permutations
There are factorial(N) permutations of the numbers from 1 to N. For each of these permutations, we can find the set of indexes j...

11 Monate vor

Gelöst


Number Puzzle - 118

11 Monate vor

Gelöst


Number Puzzle - 116

11 Monate vor

Gelöst


Number Puzzle - 115

11 Monate vor

Gelöst


Number Puzzle - 111

11 Monate vor

Gelöst


Number Puzzle - 094
Give an example of three unique numbers a, b, and c such that concatenating a^2, b^2, and c^2 is equal to d^4 for an integer d.

11 Monate vor

Gelöst


Number Puzzle - 100

11 Monate vor

Gelöst


Number Puzzles - 019
Borrowing the idea from Pascal Triangle, the following operation can be performed. Starting with an array of numbers from 1 to N...

11 Monate vor

Gelöst


Number Puzzles - 017

11 Monate vor

Gelöst


Number Puzzles - 016

11 Monate vor

Gelöst


Number Puzzles - 015

11 Monate vor

Gelöst


Prime Magic Squares

11 Monate vor

Gelöst


Parcel Routing
Given a matrix that represent the distance along highways between major cities numbered 1 to _N_, provide the path and shortest ...

11 Monate vor

Gelöst


Graph Algorithms 3: Number of Connected Components
Given an adjacency matrix of a simple undirected graph, find the number of connected components.

11 Monate vor

Gelöst


Count the Number of Directed Cycles in a Graph
Given an asymmetric adjacency matrix, determine the number of unique directed cycles. For example, the graph represented by adj...

11 Monate vor

Gelöst


Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

11 Monate vor

Gelöst


Lights Out 15 - 5x5, broken buttons I
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

11 Monate vor

Gelöst


Lights Out 14 - 5x5, four stages, x moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

11 Monate vor

Gelöst


Lights Out 13 - 5x5, three stages, x moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

11 Monate vor

Gelöst


Lights Out 12 - 5x5, three stages, <7 moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

11 Monate vor

Gelöst


Lights Out 11 - 5x5, with wrapping, x moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

11 Monate vor

Gelöst


Draw Dominos
Write a function to draw dominos. The number on each side can range from 0 to 9. For example, for an input of [3,7], your functi...

11 Monate vor

Gelöst


Word Distance - Average Sort
Based on the method of <https://www.mathworks.com/matlabcentral/cody/problems/44815-word-distance-sum this problem>, write a fun...

11 Monate vor

Gelöst


Lights Out 10 - 5x5, with wrapping, 6 moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

11 Monate vor

Mehr laden