This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Jamie Schembri
jamie.schembri.me
did:plc:b7i4j3fb3ltoyvorclobat7j
Just had an interesting early stage Ruby interview question:
Write a method, `my_max`, which returns the maximum number given an array. The array may contain only integers and other arrays.
E.g.
my_max([1, [2, 3]]) # => 3
Constraint: you may only use the methods `length` and `is_a?`.
1/5
2025-05-06T08:03:29.983Z