Google Interview Question

Write a code to find Maxi ODD from an Array

Interview Answer

Anonymous

Sep 19, 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.