Sign up
Log in
Home
Language tracks
CFML track
Exercises
Exercises on the CFML track
Join the CFML Track
28 exercises to help you master CFML
easy
Hello World
The classical introductory exercise. Just say "Hello, World!"
misc
easy
Leap
Given a year, report if it is a leap year.
misc
easy
Raindrops
Convert a number to a string, the contents of which depend on the number's factors.
misc
easy
Scrabble Score
Given a word, compute the scrabble score for that word.
misc
easy
Difference Of Squares
Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.
math
easy
Secret Handshake
Given a decimal number, convert it to the appropriate sequence of events for a secret handshake.
misc
easy
Space Age
Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.
misc
easy
Acronym
Convert a long phrase to its acronym
misc
easy
RNA Transcription
Given a DNA strand, return its RNA Complement Transcription.
misc
easy
Pangram
Determine if a sentence is a pangram.
misc
easy
Hamming
Calculate the Hamming difference between two DNA strands.
misc
easy
Gigasecond
Given a moment, determine the moment that would be after a gigasecond has passed.
misc
easy
Sum Of Multiples
Given a number, find the sum of all the multiples of particular numbers up to but not including that number.
math
easy
Luhn
Given a number determine whether or not it is valid per the Luhn formula.
misc
easy
Triangle
Determine if a triangle is equilateral, isosceles, or scalene.
misc
easy
Largest Series Product
Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.
math
easy
Grains
Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.
misc
easy
Atbash Cipher
Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.
misc
easy
Nth Prime
Given a number n, determine what the nth prime is.
math
easy
Pig Latin
Implement a program that translates from English to Pig Latin
misc
easy
Flatten Array
Take a nested list and return a single list with all values except nil/null
misc
easy
Saddle Points
Detect saddle points in a matrix.
misc
easy
Diamond
Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.
misc
easy
Isogram
Determine if a word or phrase is an isogram.
misc
easy
Bob
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
misc
easy
Word Count
Given a phrase, count the occurrences of each word in that phrase.
misc
medium
Markdown
Refactor a Markdown parser
misc
easy
Anagram
Given a word and a list of possible anagrams, select the correct sublist.
misc