Higher! Lower!
My kids have started to play the "I'm thinking of a number between X and Y" game in the car on trips to and from their swim less...
5 years ago
Solved
Airline Ticket Mod7 Checksum
There are 13 digits in an airline ticket number. If an airline ticket number is valid, the 13th digit should be the remainder of...
5 years ago
Solved
Church Encoding
Church encoded numeral is a function which takes two arguments _f_ and _x_ and applies _f_ to _x_ several times.
For example,...
5 years ago
Solved
That's some divisor you've got there...
Given a positive integer x, calculate the sum of all of the divisors of the number. Please include the number itself in your fi...
5 years ago
Solved
"Find out the best cricket"
This is how I originally read Problem 2013, so let's just go with it. Give me the first and last name of the best cricket, rega...
5 years ago
Solved
root?
* Given a function 'foo', and a position 'there', find the root near 'there'.
* For example: If foo=@sin, and there=3.1, then r...
Poker Series 01: isStraightFlush
The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...
5 years ago
Solved
Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is,
h = (f o g)(x) = f(g(x))
...
5 years ago
Solved
Make an N-dimensional Multiplication Table
*INSTRUCTIONS*
This is a multi-dimensional variant of the normal multiplication table used to teach elementary students multi...
5 years ago
Solved
Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody.
Return as a string the name of the input variable to the functio...