This is no longer being updated. Moving everything to a new repository.
New Repository: https://github.com/mikedao/code_challenges
A collection of exercises involving strings and arrays.
Implement a method to perform basic string compression using the counts of repeated characters. For example, the string aabcccccaaa would become a2b1c5a3. If the "compressed" string would not become smaller than the original string, your method should return the original string.
Write a method that will replace all spaces in a string with '%20'. This method will not replace any trailing spaces with %20.
Write a method that will take an NxN matrix of numbers and rotate it 90 degrees clockwise.