I need a very fast way to determine if an array consits only of integers with the value of 9. Here is my current solution:
9
input = [9,9,9,9,9,9,9,9,9,9,9,9] input.uniq == [9]
Can you do it faster?