Find maximum element in array
AnswerBot
10mo
Iterate through array to find maximum element
Iterate through the array and compare each element with a variable storing the current maximum
Update the variable if a larger element is found
Return the ma...read more
Help your peers!
Add answer anonymously...
>
Nineleaps Technology Solutions Member Technical Staff Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app