About 78,000 results
Open links in new tab
  1. C Program to Find the Maximum and Minimum Element in the …

    Nov 20, 2024 · The simplest method to find the maximum and minimum element of the array is iterates through the array and compare each element with the assumed minimum and …

  2. Max Min Problem in Data Structures - Online Tutorials Library

    Let us consider a simple problem that can be solved by divide and conquer technique. The Max-Min Problem in algorithm analysis is finding the maximum and minimum value in an array. To …

  3. Maximum and minimum of an array using minimum number of comparisons

    Sep 14, 2024 · To solve the problem of finding the minimum and maximum elements in an array, you can follow these steps: Step 1: Write functions to find the minimum (setmini) and …

  4. C Program To Find Maximum & Minimum Element In Array | C

    Apr 15, 2025 · C program to find the maximum and minimum element in an array – In this article, we will brief in on the many ways to find the maximum and minimum element in an array in C …

  5. Simple algorithm for finding maximum and minimum of given …

    Sep 21, 2012 · There's the straightforward way: if (a <= b && a <= c){ return a; if (b <= a && b <= c){ return b; if (c <= a && c <= b){ return c; There's the way with the minimum number of …

  6. C program to find maximum and minimum in array | StudyMite

    There are three methods using which we can write a program to find max or min element. They are as follows: The logic used for solving the problem remains same across all the …

  7. C program to find maximum and minimum elements in array

    Apr 15, 2016 · How to find maximum and minimum element in an array using recursion in C programming. Logic to find find maximum or minimum elements in array in C programming. …

  8. C Program For Maximum and Minimum of an Array

    Jul 14, 2023 · In this article, we will discuss different ways to find the maximum and minimum elements of the array in C. The simplest method to find the maximum and minimum element of …

  9. C program to find maximum and minimum using functions

    Feb 19, 2016 · Write a C program to input two or more numbers from user and find maximum and minimum of the given numbers using functions. How to find maximum and minimum of two or …

  10. Find the minimum and maximum element in an array using …

    Nov 15, 2021 · Given an integer array, find the minimum and maximum element present in it by making minimum comparisons by using the divide-and-conquer technique.

  11. Some results have been removed
Refresh