answersLogoWhite

0


Best Answer

Assume the first element is the largest and store its value. Then traverse the remainder of the list, one element at a time. If the current element's value is larger than the stored value, overwrite the stored value with the current element's value. Once you've traversed the list, the stored value will hold the largest value.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Design an algorithm to determine the largest element in a list?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Design an algorithm to show the different operations on degree?

Design an algorithm to show the different operation on the degree.


Design an algorithm to show the different operations on a stack?

Design an algorithm to show the different operations on a stack?


Design an algorithm for finding integer solutions for equations of the form x2 y2 n where n is some given positive integer Determine the time complexity of your algorithm?

yea me too dude. Mahleko :(


What are the advantages of problem analysis and algorithm design?

Before execution a project should be planned. Problem analysis is a way of determining the foundation of a problem, so that the problem is better resolved. Algorithm design is very similar in that it uses mathematical process to determine and resolve computer Engineering issues.


Design step by steps algorithm on how to write the letter A and display the result?

Design step by steps algorithm on how to write the letter A and display the result


Design an algorithm for finding all the factors of positive integerfor example in the case of the integer 12your algorithm should report 12346 and 12?

design an algorithm for finding all the factors of a positive integer


What is the design technique that programer use to breakdown algorithm into modules?

top-down design


Write algorithm compute sum of square of N numbers?

1. Design an algorithm to compute sum of the squares of n numbers?


How does size determine structure in organizational design?

how does size determine structure in organizational design?


Divide and conquer what does it mean?

Divide and conquer is computer science. It is an important algorithm design.


Is algorithm design part of the description of a dsp engineering job?

It appears that algorithm design is a part of having a DSP engineering job. To find out what exactly a DSP engineer may have to do, visit http://www.careerbuilder.com/jobs/keyword/dsp+engineer


Design and analysis of algorithm question bank?

hai this web site very useful senthil