---
title: "Discussion on \"Finding the maximum and minimum in array using minimum numbers of comparison in java\" | Hashnode"
description: "Discussion on \"Finding the maximum and minimum in array using minimum numbers of comparison in java\". Problem statement:- Given an array of size N. The task is to find the maximum and the minimum element of the array using the minimum number of comparisons.\nFor solving any problems, I would divide it into the following part\nGiven: Array,\nFinding: Max..."
url: "https://hashnode.com/posts/finding-the-maximum-and-minimum-in-array-using-minimum-numbers-of-comparison-in-java/63b8fec2e3d1116ef18b0c1b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Finding the maximum and minimum in array using minimum numbers of comparison in java](https://farheen21.hashnode.dev/finding-the-maximum-and-minimum-in-array-using-minimum-numbers-of-comparison-in-java?utm_source=hashnode&utm_medium=feed)

Problem statement:- Given an array of size N. The task is to find the maximum and the minimum element of the array using the minimum number of comparisons. For solving any problems, I would divide it into the following part Given: Array, Finding: Max...

Jan 7, 2023 · 2 min read · farheen21.hashnode.dev  
Read the article

-   [#dsa](https://hashnode.com/tag/dsa)
-   [#dsainjava](https://hashnode.com/tag/dsainjava)
-   [#dsa-series](https://hashnode.com/tag/dsa-series)
-   [#faang](https://hashnode.com/tag/faang)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Farheen Khan](https://hashnode.com/@farheen21)

@farheen21

  
[View profile](https://hashnode.com/@farheen21)

FrontEnd Developer , Teach Enthusiast

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
