Skip to content

Conversation

@BIGred053
Copy link

No description provided.

letsdrill.rb Outdated
def shortest_string(array)

#Put your code here!
min_string = array.join
Copy link

@djlax805 djlax805 May 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BIGred053 Take a look at the Ruby methods min or min_by and see if you can simplify this answer! Nice thought out solution though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants