Google interview question

Write a code to find Maxi ODD from an Array

Interview Answer

Anonymous

19 Sept 2023

I said we take variable MAXODD= - infintiy, then using a for loop we check a number is odd or not, is odd then we compare max between MAXODD and i.