Community Profile

photo

Budro


Last seen: etwa ein Jahr vor Aktiv seit 2020

I'm bored and just using this to learn algorithms

Statistiken

  • Project Euler I
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

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


Converts numbers into characters
Converts numbers into characters

fast 2 Jahre vor

Gelöst


Find the max element of the array
Find the max element of the array

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


to the 2 all elements
to the 2 all elements

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


Double all elements in the array
Duplicate all elements in the array

fast 2 Jahre vor

Gelöst


calculate the length of matrix
input 1 array, calculate the length

fast 2 Jahre vor

Gelöst


Draw a '0' in a one matrix!

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


Mass Conversion 2

etwa 3 Jahre vor

Gelöst


Mass Conversion 1

etwa 3 Jahre vor

Gelöst


Temperature Conversion 3

etwa 3 Jahre vor

Gelöst


Temperature Conversion 2

etwa 3 Jahre vor

Gelöst


Temperature Conversion 1

etwa 3 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

Mehr laden