Community Profile

William

Last seen: Today Con actividad desde 2012

Semi-retired physicist with interests in numerical modeling and mathematics.

All

Ver insignias

Content Feed

Ver por

Resuelto

Cluster Partition
Given an array (row or column) of numbers, divide the array into consecutive positive/negative numbers. 0 is to be treated inde...

alrededor de 17 horas hace

Resuelto

Exact Cover
An efficient solution to the exact cover problem can be useful in many situations. In this problem, you are welcome to use Knuth...

alrededor de 21 horas hace

Resuelto

IQpuzzler Preparation #3: Detect isolated groups of zeros in a matrix
Return true if any small, rectangular shaped, isolated groups of zeros (size 1x1, 1x2, 2x1, 1x3, 3x1 or 2x2) are present in a ma...

1 día hace

Resuelto

Sum the unitary divisors of a number
Cody Problems 1933 and 46898 deal with , the sum of divisors function. This problem deals with , the sum of unitary divisors fun...

1 día hace

Resuelto

Cricket - Is It LBW?
LBW has an unfair reputation as complicated. But if you've watched a third umpire referral, you'll know that it's just a logical...

2 días hace

Resuelto

IQpuzzler Preparation #2: Detect isolated zeros in a 2D matrix
Return true if any isolated single zeros are present in the input M-by-N matrix (zeros with all adjacent elements being non-zero...

2 días hace

Resuelto

add three numbers to equal 6

3 días hace

Resuelto

Add the two numbers to equal 3

3 días hace

Resuelto

Cricket - You Miss, I Hit (Rank Bowlers by Proportion of Bowled and LBW Wickets)
Which bowlers threaten your stumps the most? Given a table of all wickets taken during some particular set of matches and two th...

3 días hace

Resuelto

Volume of a Square
Find a function that creates the volume of a square if side length is 9

3 días hace

Resuelto

Easy Sequences 82: Digits of Powers of 2
In Project Euler Problem #16, we are asked for sum of the digits of powers of 2. Here we will be asked for more than that. Give...

4 días hace

Resuelto

Count the unitary divisors of a number
Cody Problem 56738 asks for a list of the unitary divisors of a number. For this problem, write a function to count the unitary ...

9 días hace

Resuelto

List unitary divisors of a number
A unitary divisor of a number divides and satisfies gcd(,) = 1. For example, 9 is a unitary divisor of 18 because gcd(9,2) = ...

9 días hace

Resuelto

learning to code?
dsF

10 días hace

Resuelto

Vectorial sum
vectroiral sum

10 días hace

Resuelto

dont try dis lmao
sd

10 días hace

Resuelto

freeeeeee3

10 días hace

Resuelto

freeeeee
free

10 días hace

Resuelto

freeeeee
free points

10 días hace

Resuelto

Determine if a given input is even or odd?
Given an input, determine if even or odd.

11 días hace

Resuelto

Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

13 días hace

Resuelto

Just square the input
Square the number

18 días hace

Resuelto

Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

19 días hace

Resuelto

List the nth term of Rozhenko’s inventory sequence
Consider a sequence constructed by repeated inventories. A new inventory begins each time a zero is encountered. The first few i...

19 días hace

Resuelto

Cricket - Report the Result (Part II: Test Matches)
Given two scalar strings representing the scores for a test match, return a string reporting the result in the appropriate form:...

21 días hace

Resuelto

Compute the drag on a moving vehicle
We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

23 días hace

Resuelto

Slope intercept application
Find y given slope (m), x, and y intercept (b).

23 días hace

Resuelto

Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not

23 días hace

Resuelto

Remove Duplicates
Remove duplicates from the vector of integers and display in sorted order

23 días hace

Resuelto

Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

23 días hace