Community Profile

photo

William


3,239 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


Open coded lock.
Guess the <hint://fliplr(anchortext) password> or break the <2314/solutions/new#test_suite_body lock>.

1 day ago

Solved


make histogram
You probably know the function hist(x,n) to get the histogram. Now try to write the function yourself! For the cheaters wanti...

2 days ago

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;

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

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

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

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

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

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

5 days ago

Solved


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

10 days ago

Solved


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

10 days ago

Solved


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

10 days ago

Solved


Converts numbers into characters
Converts numbers into characters

11 days ago

Solved


to the 2 all elements
to the 2 all elements

11 days ago

Solved


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

11 days ago

Solved


easy problem
Find the last element of the array

11 days ago

Solved


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

11 days ago

Solved


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

11 days ago

Solved


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

11 days ago

Solved


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

12 days ago

Solved


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

12 days ago

Solved


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

12 days ago

Solved


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

12 days ago

Solved


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

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

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

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

15 days ago

Solved


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

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

28 days ago

Load more