Easy Ruby ChallengesIntroductory challenges and solutions
Palindrome
For this challenge you will determine if a string is written the same way forward and backwards.
17504 solutions
Solution
Array Addition I
For this challenge you will determine if numbers in an array can add up to a certain number in the array.
9127 solutions
Solution
Letter Count I
For this challenge you will determine which word has the greatest number of repeated letters.
8317 solutions
Solution
Second GreatLow
For this challenge you will determine the second lowest and greatest numbers in an array.
13780 solutions
Solution
Division Stringified
For this challenge you will divide two numbers and return them in a certain format.
10264 solutions
Solution
Counting Minutes I
For this challenge you will return the total number of minutes between two times.
6088 solutions
Solution
Dash Insert
For this challenge you will be manipulating a string using dashes (-).
9050 solutions
Solution
Number Addition
For this challenge you will traverse a string searching for all the numbers and then you will add them up.
8380 solutions
Solution
Third Greatest
For this challenge you will determine the third largest string within an array.
7768 solutions
Solution
Powers of Two
For this challenge you will be determining whether or not a number is a power of two.
8684 solutions
Solution
Additive Persistence
For this challenge you will be determining the additive persistence for a given number.
6315 solutions
Solution
Multiplicative Persistence
For this challenge you will be determining the multiplicative persistence for a given number.
4878 solutions
Solution
Off Line Minimum
For this challenge you will be creating a subset of an array.
6520 solutions
Solution
Changing Sequence
For this challenge you will determine when an array changes sequences.
3083 solutions
Solution
Overlapping Ranges
For this practice test you will determine the intersection between two sets.
2816 solutions
Solution
Superincreasing
For this challenge you will determine if each number is greater than the sum of all previous elements in an array.
2876 solutions
Solution
Hamming Distance
For this challenge you will determine the difference between two strings.
2007 solutions
Solution
Rectangle Area
For this challenge you will determine the area of a rectangle.
2406 solutions
Solution