Month Archives: March 2017

Coding Exercises

How to Find All Duplicates in an Array in Ruby

Ruby has a helpful method for removing duplicates from an array, the uniq method. However, there are times when you simply want to know which elements in an array are duplicates. In this guide we'll add a method to the...

Coding Exercises

Working with Infinity in Ruby

Working with infinity can be a unique challenge in many different programming languages. Thankfully Ruby offers a helpful library that allows you to implement infinity into programs, and that's what this guide focuses on. Summary Build a method that utilizes...

1 2 3
Page 1 of 3