Ruby Playground - Max and min of array: Online Interpreter, Compiler & Editor | Sololearn