Ruby on Rails
Thursday, April 26, 2018
On Fri, Apr 27, 2018 at 12:12 AM, Abdel Latif <mlotfi2005@gmail.com> wrote:
But this part .flat_map{|x| x.sort_by {|x|x[/d+/]}.reverse}
two things look suspicious:
1) /d+/
1) /d+/
2) reverse
have you tried randomly rearranging your arrays first?
m
any thanks,--botp
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAwHHQica6sEZ-OPOnbGUyG_MGOPKW21iOd%3D_HxacnSmeTeRCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment