Write a function ThirdMin programming homework help

  1. Write a function, ThirdMin, which takes as argument an array of real numbers and computes the third minimum. You can assume that there are no duplicates in the array.

  2. Write a function ShiftArray(int[] A, int k) which circularly shifts the elements of the array k positions to the right. For example, if A = {5, 6, 7, 8, 9}, then after the call to ShiftArray(A, 2), the array should equal A = {8, 9, 5, 6, 7}. You are not allowed to use any other array besides A. 

Need your ASSIGNMENT done? Use our paper writing service to score good grades and meet your deadlines.

Order a Similar Paper Order a Different Paper