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

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

Mastering Memory: Real-World Examples of Crucial Stack and Heap Management in C/C++

⚙️ Stack vs Heap Recap: A Quick Refresher Before diving into real-world scenarios, let’s...

Learn More 0 0Aug 6

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

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

Stack vs Heap Memory: A Deep Dive into C/C++, BASIC, and Pascal

1. Introduction Memory management is at the heart of computer programming. Whether you’re...

Learn More 0 0Aug 6

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