8 kyu

Enumerable Magic #10 - Find the Maximum Value

Description:

Create a method max that accepts a list and a block, and returns the item that is the maximum using the block as the comparator.

If you need help, here's a reference:

http://www.rubycuts.com/enum-max

Fundamentals

Stats:

CreatedNov 5, 2014
PublishedNov 5, 2014
Warriors Trained1597
Total Skips171
Total Code Submissions3031
Total Times Completed806
Ruby Completions806
Total Stars4
% of votes with a positive feedback rating86% of 195
Total "Very Satisfied" Votes160
Total "Somewhat Satisfied" Votes14
Total "Not Satisfied" Votes21
Total Rank Assessments74
Average Assessed Rank
7 kyu
Highest Assessed Rank
2 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • bellmyer Avatar
  • Voile Avatar
  • user9644768 Avatar
Ad