Data Structures and Algorithms Exam

49 / 52

We have 2 programs to find the 2nd largest element in an array. Which is better in terms of time complexity?

Function 1: enter image description here

Function 2: enter image description here


Note - Having trouble with the assessment engine? Follow the steps listed here


No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...