Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 286 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 286 Bytes

Stock-Picker

Common problem of finding the biggest difference in array assuming the smaller number has to come first returns an array with the smaller index first

FINALLY got to a solution I like! One line, simple to follow, and elegant. I'm calling this a win, and I now love ruby!