---
title: "Manish askani (@manishaskani) | Hashnode"
description: "Manish askani (@manishaskani) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@manishaskani"
---

@manishaskani

# Manish askani

@manishaskani · Joined December 2020

## Comments

[Hey Sloth Nice article. A small correction. We can insert into the max heap if the top element (i.e. the greatest element) is smaller than the element we're inserting I think this is incorrect. We should insert into max heap if the inserting element is smaller than the top element of heap and not the other way round.](https://hashnode.com/posts/crushing-tech-interviews-with-the-two-heaps-pattern/60770ac34155da32fc83ab77/comment/610702863b9b85399dcf5200)

Comment · Article · Aug 1, 2021 · [Crushing Tech Interviews with the Two Heaps Pattern](https://hashnode.com/posts/crushing-tech-interviews-with-the-two-heaps-pattern/60770ac34155da32fc83ab77)
