In the project directory, you can run:
to install dependencies
to run tests
str = 'Pressuuuuuure' LongestString.new(str).call outputs = 'uuuuuu'
arr = [2, -4, 6, 8, -10, 100, -6, 5] PositionSubarray.new(arr).call outputs = '2,5'
str = ' fly me to the moon ' StringLengthLastWord.new(str).call outputs = 4
arr_a, arr_b = [1,2,3], [3,4] SymmetricDifferenceArray.new(arr_a, arr_b) outputs = [1,2,4]