---
title: "AYUSH AGARWAL (@AyushAgarwal199) | Hashnode"
description: "AI Enthusiast Fast Learner. Read the latest articles by AYUSH AGARWAL on Hashnode."
url: "https://hashnode.com/@AyushAgarwal199"
---

@AyushAgarwal199

# AYUSH AGARWAL

@AyushAgarwal199 · Joined May 2023

AI Enthusiast Fast Learner

### [How Heap Works....](https://ayushagarwal100.hashnode.dev/how-heap-works?utm_source=hashnode&utm_medium=feed)

//A Heap is a special Tree-based data structure in which the tree is a complete binary tree./// /\* C++ Function to sort an array using insertion sort\*/ #include <bits/stdc++.h> using namespace std; void insertionSort(int A\[\], int size) { int i, key, ...

1 min read · [ayushagarwal100.hashnode.dev](https://ayushagarwal100.hashnode.dev/how-heap-works?utm_source=hashnode&utm_medium=feed)

[May 13, 2023](https://hashnode.com/posts/how-heap-works/645f5ed6349d4da099bf92c1)
