Articles by Tag #heap

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Heap vs Stack: como o Java gerencia o que deve ser lembrado ou esquecido

Quando executamos um programa, o sistema operacional aloca memória para que essa aplicação possa...

Learn More 3 1Sep 7 '24

Implementing Heap In Python

How implementing a heap in Python can help you better understand this data structure

Learn More 1 0Sep 30 '24

Longest Happy String

Problem TC: O(nlogn) //greedily try to add char one by one, in the final string, don't try and...

Learn More 0 0Oct 16 '24

Sort character by frequency

Problem Time Complexity: The number of distinct characters (k) can be at most 256, so inserting k...

Learn More 0 0Sep 28 '24

Understanding Java Memory Management: Stack vs. Heap

Understanding Java Memory Management: Stack vs. Heap Java's memory management is a...

Learn More 0 0Jun 2

How the Call Stack, Heap, and Closures Work in JavaScript

📋 Table of Contents Introduction The Call Stack and Execution Contexts The Stack and the...

Learn More 0 0Mar 18