Budro
I'm bored and just using this to learn algorithms
Statistiken
0 Probleme
213 Lösungen
RANG
N/A
of 288.897
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 19.494
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Content Feed
Gelöst
Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...
fast 2 Jahre vor
Gelöst
Sum the Infinite Series
Given that 0 < x and x < 2*pi where x is in radians, write a function [c,s] = infinite_series(x); that returns with the...
fast 2 Jahre vor
Gelöst
Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...
fast 2 Jahre vor
Gelöst
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
fast 2 Jahre vor
Gelöst
Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....
fast 2 Jahre vor
Gelöst
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
fast 2 Jahre vor
Gelöst
Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....
fast 2 Jahre vor
Gelöst
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;...
fast 2 Jahre vor
Gelöst
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
fast 2 Jahre vor
Gelöst
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
fast 2 Jahre vor
Gelöst
the average value of the elements
Calculate the average value of the elements in the array
fast 2 Jahre vor
Gelöst
Sums of cubes and squares of sums
Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...
mehr als 2 Jahre vor
Gelöst
Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...
etwa 3 Jahre vor
Gelöst
Project Euler: Problem 11, Largest product in a grid
What is the greatest product of _k_ adjacent numbers in the same direction (up, down, left, right, or diagonally) in a _n×n_ gri...
etwa 3 Jahre vor
Gelöst
Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...
etwa 3 Jahre vor
Gelöst
Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...
mehr als 3 Jahre vor
Gelöst
modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...
mehr als 3 Jahre vor
Gelöst
Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.
mehr als 3 Jahre vor
Gelöst
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
mehr als 3 Jahre vor