#!/usr/bin/env ruby # This code comes from http://ruby-it.org/pages/Quiz+Agosto+2004 # Check the page for copyright notice and explanations [3, 6, 34, 89, 112].insert_sorted 20 -> [3, 6, 20, 34, 89, 112]