Vishesh Raghuvanshiblog.visheshraghuvanshi.me·Sep 25, 2023A guide to Memory Organisation and Storage Classes in CMemory Organisation When a C program is executed, it is loaded into the memory of the computer. This loaded program is called a process. The memory allocated to a process is called its process address space or memory layout. The memory layout of a C ...Discuss·10 likesC Programmingmemory
Tanmay Dhobaletanmay4l.hashnode.dev·Sep 24, 2023Learn About Heaps: A Guide to Coding InterviewsIntroduction: In coding interviews, understanding heaps is essential. Heaps are data structures used for efficiently retrieving the smallest or largest elements from a set of data. In this blog post, we will explore what heaps are, how they work, the...DiscussHeap sort
vasanth kumarblog.itsparser.in·Sep 5, 2023Stack vs HeepWhen writing a program, the computer has two areas of memory where it can store data: the stack and the heap. Stack The stack is a region of memory limited to the application, that is allocated for a program when it starts running. It is used to stor...DiscussBootstrapstack
Shreyansh Jainjainshreyansh.com·Sep 3, 2023Heap Data Structures (Part - 2)Pre-requisite I would recommend going through part 1 of the heap data structures for a better understanding. You can read it here:- https://jainshreyansh.com/heap-data-structures-part-1 In this part, I am going to discuss how can we implement heap us...DiscussData Structures and Algorithmsheap
Shreyansh Jainjainshreyansh.com·Sep 2, 2023Heap Data Structures (Part - 1)Before diving into heap data structure, let's first understand what is a complete binary tree. Complete binary tree A complete binary tree is a tree in which all levels are completely filled, except possibly the lowest one which is filled from left. ...DiscussData Structures and Algorithmsheap
Jose Ramireznowaymyname.hashnode.dev·Aug 24, 2023Dive into Heaps: A Closer Look at Java's MaxHeapIf you've ever dabbled with Java and its vast library, you've probably come across heaps. A ubiquitous data structure, heaps are pivotal in several advanced algorithms, notably in sorting and priority queues. Today, we venture into the world of MaxHe...DiscussJava
Jose Ramireznowaymyname.hashnode.dev·Aug 24, 2023Understanding Heaps: A Dive Into MaxHeapAh, heaps! A key data structure that plays a fundamental role in many advanced algorithms, especially in the domain of sorting and priority queues. This data structure efficiently helps us organize our data in a way that enables us to quickly access ...Discussheap
Shashank Srivastavashanksms.hashnode.dev·Aug 20, 2023Python Bytes#2Heap in python When you will have to fetch the kth largest or kth smallest item from a collection, consider using the heap module in Python. By default heap in Python is a min-heap. Consider the following function to fetch Kth largest element from a ...DiscussPython
Reda EL MEKKAOUIredaelmekkaoui.hashnode.dev·Aug 17, 2023Gestion de la Mémoire en Java : Pile vs TasEn programmation Java, la gestion de la mémoire est un concept fondamental que chaque développeur se doit de maîtriser. La mémoire en Java se divise principalement en deux zones : la pile (ou stack) et le tas (ou heap). Comprendre comment ces deux zo...Discuss·26 readsjvm
Nikblog.xnim.me·Aug 5, 2023TL&DRs: What I know about JavaScript String.Hey! What do you know about string type in JavaScript? I believe you saw gazillion times about 1+'1' or so. In this article, I won't talk about it, but I'd suggest we cover these questions: How strings are stored? Is there a limit for the string le...Discuss·1 like·189 readsJavaScript