© 2022 Hashnode
#queue
Picture any structure you can think of: A maisonette, a bungalow, a cottage, a cowshed, a skyscraper, a dormitory, a cathedral, a mosque, an apartment, a barn, a silo, a warehouse, a mall, even a sma…
Analytics is the backbone of smart decision-making and is also one of the core offerings of Shipsy. However, previously we used transactional DBs for analytics that failed to cater to the growing anal…
The below image is a very simplified view of the JS engine. It has two components: Memory heap – This is where memory allocation takes place. Call Stack – It’s a stack that keeps track of the func…
What is a Queue? A queue is a data structure used for storing data (similar to Linked Lists and stacks). In queue, the order in which data arrives is important. In general, a queue is a line of peop…
Stacks I can neither confirm nor deny that when I was younger I was involved in an incident of breaking a stack of my mother’s treasured plates. Needless to say that the stack of plates will be repla…
Queue are data structure that follows the FIRST IN, FIRST OUT (FIFO), ie the first element that is added to the queue is the first one to be removed. Elements are always added to the back and removed…
In becoming a better JavaScript developer, you need to understand the concept of how JavaScript executes scripts under the hood. In this article, we will better understand how the JavaScript runtime e…
Before we begin I assume you have the basic understanding of Asynchronous JavaScript and the use of setTimeout API. If not refer this article. We know JavaScript is synchronous single threaded languag…
Introduction As an azure functions dev, I am sure you've come across issues where a QueueTrigger azure function fails and after several retry attempt (dequeue count) the items are sent into a poison q…
Problem Description You are given a series of incoming network packets, and your task is to simulate their processing. Packets arrive in some order. For each packet number 𝑖, you know the time when it arrived 𝐴𝑖 and the time it takes the…