filmov
tv
Find Second Largest Number in an Array(Multiple Approaches)(Hindi) || Array Data Structure
![preview_player](https://i.ytimg.com/vi/YetqNl-E5Zw/maxresdefault.jpg)
Показать описание
Find Second Largest Number in an Array(Multiple Approaches)(Hindi) || Array Data Structure.
Hi
Welcome To our channel Code Bashers.
About Video:
In this video I have discussed the approach to find the second largest number in the array. In the discussed approach the array in which element is to be found is traversed a single time. I have taken two variables which will store largest and second largest element respectively. At each index the value of that particular index is compared with first with the largest variable
and then with the second largest variable.If the value is greater than the largest value then the largest value is put inside the second largest variable and current value is placed inside the largest variable.
See Video for more explanation.
Video Covers:
1)Finding second largest element in an array.
2)Multiple Approach for finding second Largest element.
3)Program to find second Largest number in an array.
#findingsecondlargest #codeforsecondlargestnumber #arrays
Please Like , Share , Subscribe and forward it to your friends.
Thank You
Links to previous videos:
find minimum and maximum value in array C++ | Arrays:
About Channel:
Our channel make videos related to programming. I hope my content helps you land the job of your dreams and become a better engineer!
Hi
Welcome To our channel Code Bashers.
About Video:
In this video I have discussed the approach to find the second largest number in the array. In the discussed approach the array in which element is to be found is traversed a single time. I have taken two variables which will store largest and second largest element respectively. At each index the value of that particular index is compared with first with the largest variable
and then with the second largest variable.If the value is greater than the largest value then the largest value is put inside the second largest variable and current value is placed inside the largest variable.
See Video for more explanation.
Video Covers:
1)Finding second largest element in an array.
2)Multiple Approach for finding second Largest element.
3)Program to find second Largest number in an array.
#findingsecondlargest #codeforsecondlargestnumber #arrays
Please Like , Share , Subscribe and forward it to your friends.
Thank You
Links to previous videos:
find minimum and maximum value in array C++ | Arrays:
About Channel:
Our channel make videos related to programming. I hope my content helps you land the job of your dreams and become a better engineer!
Комментарии