92.
What will be the recurrence relation of the following code?
Int sum(int n)
{
   If(n==1)
       return 1;
   else
       return n+sum(n-1);
}

96.
Which of the following is true about the time complexity of the recursive solution of the subset sum problem?

98.
Consider the following code:
#include<stdio.h>
int recursive_sum(int n)
{
      if(n == 0)
        return 0;
      return ________;
}
int main()
{
    int n = 5;
    int ans = recursive_sum(n);
    printf("%d",ans);
    return 0;
}
Which of the following lines is the recurrence relation for the above code?

100.
In a optimal page replacement algorithm, when a page is to be replaced, which of the following pages is chosen?