Back to Browse

Find Minimum and Maximum Number in Array (Iterative and Recursive)

12.1K views
Jun 8, 2022
8:27

In this video, I will show you how to find the minimum and the maximum number or element inside an array using a for loop and then using recursion. What is recursion? Recursion is a function that calls upon itself. Here, we write a function that calls upon itself to find the min and the max value in a list using a for loop iteratively and then using recursion. While it is easy to use a for loop or while loop to do this, it is important that you understand these recursion steps to have a strong foundation to learn more complex recursive algorithm in the future. LIKE & SUBSCRIBE: 🔴 My Channel: www.youtube.com/c/QuocDatPhung 🔴 My second channel: https://www.youtube.com/channel/UCtgROmYhSv97aE11LMiB7yg

Download

1 formats

Video Formats

360pmp410.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Find Minimum and Maximum Number in Array (Iterative and Recursive) | NatokHD