how to solve reccurance relationship for number of basic operations done by the algorithm code example
Example 1: recurrence relation from code
if (n == 1) return A[1] % 7
Example 2: recurrence relation from code
myAlg (A[1..n])
if (n == 1) return A[1] % 7
myAlg (A[1..n])