Skip to content

rahuljha12527/CheckMaxHeap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

CheckMaxHeap

Check Max-Heap Send Feedback Given an array of integers, check whether it represents max-heap or not. Return true or false. Input Format : Line 1 : An integer N i.e. size of the array Line 2 : N integers which are elements of the array, separated by spaces Output Format : true if it represents max-heap and false if it is not a max-heap Constraints : 1 <= N <= 10^5 1 <= Ai <= 10^5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published