Accenture Coding Question | Number Sum | CodeWindow

Given an array of size n, write a function to find the sum of the largest and smallest element in the array.Input specification:Input1: integer n, describing the size of the given array.Input2: integer array, specifying the elements of the array. Output Specification:Return an integer as the sum of the smallest and the largest elements in […]

Accenture Coding Question | Number Sum | CodeWindow Read More »