if you know how to find second largest element of an array, it is very easy to find the third largest element of the array. not just that you can also be able to find fourth , fifth, ......... largest elements of an array, trust me. so i suggest you to learn second largest element of an array
if you know how to find second largest element of an array, it is very easy to find the third largest element of the array. not just that you can also be able to find fourth , fifth, ......... largest elements of an array, trust me. so i suggest you to learn second largest element of an array