Docsity

Recurrence Relation, DM, Summaries of Discrete Mathematics

Partial preview of the text

Download Recurrence Relation, DM and more Summaries Discrete Mathematics in PDF only on Docsity!

Recurrence Relations An equation that allow us to compute the n“ term of a sequence from preceding terms. Examplel: The selection sort ® In the selection sort algorithm the total number of comparisons is given by Oif n=1 C, = Ci. + n-l forn> 1 Recurrence Relations 1/25