Community Profile

photo

William


3.237 total contributions since 2012

Contact

William's Badges

  • Cody5 Hard Master
  • Introduction to MATLAB Master
  • Combinatorics I Master
  • Computational Geometry III Master
  • Word Puzzles Master
  • Strings I Master
  • Card Games Master
  • Project Euler I
  • Divisible by x Master
  • Computational Geometry IV Master
  • Indexing V Master
  • Computational Geometry II Master
  • Draw Letters
  • Matrix Manipulation I Master
  • Magic Numbers II Master

View all

Contributions in
View by

Solved


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

ongeveer 4 uur ago

Solved


D'Hondt Method of Proportional-Representation
The D'Hondt method is a proportional representational method for allocating seats to parties in an election. <https://en.wiki...

ongeveer 4 uur ago

Solved


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

ongeveer 5 uur ago

Solved


Fraction of a fraction of a ...
One sort of brainteaser problem is a math problem wherein you are asked what the given fraction of a fraction of a ... number is...

ongeveer 5 uur ago

Solved


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

3 dagen ago

Solved


Squares in Squares - Concentric Squares
Given a number, n, create an n x n sized matrix with concentric squares of 1s from the outside in. There should be a gap between...

3 dagen ago

Solved


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

3 dagen ago

Solved


square a number twice with square root of 4/5
square a number twice with square root of 4/5

8 dagen ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

8 dagen ago

Solved


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

8 dagen ago

Solved


Converts numbers into characters
Converts numbers into characters

9 dagen ago

Solved


to the 2 all elements
to the 2 all elements

9 dagen ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

9 dagen ago

Solved


easy problem
Find the last element of the array

9 dagen ago

Solved


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

9 dagen ago

Solved


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

9 dagen ago

Solved


Calculate the square root of a number
Input a Output b = srt(a)

9 dagen ago

Solved


Triangle???
Calculate the circumference of an equilateral triangle with x

11 dagen ago

Solved


Sum sum!!!
Sum the numbers from 1 to n

11 dagen ago

Solved


Perimeter of a square!
Calculate the circumference of the square whose side is n

11 dagen ago

Solved


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

11 dagen ago

Solved


dễ dàng
cho 2 số. tính tích của chúng

13 dagen ago

Solved


Convert base 10 to base x (2-16)
Convert input number(s) (double) in base 10 to base x (2 through 16). Output should be a cell of character arrays. Compute outpu...

13 dagen ago

Solved


Area of Triangle with Oblique Coordinates
Find area of triangle given points p1, p2, and p3 where the y-axes is w degrees counter clockwise from the x-axes. For exampl...

13 dagen ago

Solved


Create a "+" flag
Given two odd numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1...

13 dagen ago

Solved


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

20 dagen ago

Solved


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

27 dagen ago

Solved


Chào các bạn.
Cho 3 số. Tính tổng của chúng

27 dagen ago

Solved


RSA decryption
Decrypt a large integer string using RSA decryption given the public key (n) and private key (d). Convert the large integer decr...

ongeveer een maand ago

Load more