Pergunta de entrevista da empresa Meraki

Questions were simple. Implement fibonacci iteratively and recursively. Give an algorithm that linearly determines the highest ranking piece of art given an array of art and a function that takes in two pieces of art and returns the better one.