Created
August 5, 2013 20:06
-
-
Save pifst/24307bab238a40e6fef6 to your computer and use it in GitHub Desktop.
Output of Ranking.RB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mbr:christopher_fields_coding_challenge Chris$ ruby ranking.rb ABAB | |
The input 'ABAB' is ranked # 2 | |
--------------------------------------- | |
Time elapsed 5.186 milliseconds, memory used: 116KB | |
--------------------------------------- | |
mbr:christopher_fields_coding_challenge Chris$ ruby ranking.rb AAAB | |
The input 'AAAB' is ranked # 1 | |
--------------------------------------- | |
Time elapsed 5.038 milliseconds, memory used: 144KB | |
--------------------------------------- | |
mbr:christopher_fields_coding_challenge Chris$ ruby ranking.rb BAAA | |
The input 'BAAA' is ranked # 4 | |
--------------------------------------- | |
Time elapsed 4.961 milliseconds, memory used: 128KB | |
--------------------------------------- | |
mbr:christopher_fields_coding_challenge Chris$ ruby ranking.rb QUESTION | |
The input 'QUESTION' is ranked # 24572 | |
--------------------------------------- | |
Time elapsed 5.513 milliseconds, memory used: 180KB | |
--------------------------------------- | |
mbr:christopher_fields_coding_challenge Chris$ ruby ranking.rb BOOKKEEPER | |
The input 'BOOKKEEPER' is ranked # 10743 | |
--------------------------------------- | |
Time elapsed 5.966 milliseconds, memory used: 156KB | |
--------------------------------------- | |
mbr:christopher_fields_coding_challenge Chris$ ruby -v | |
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.2.1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment