THREADS

Let’s talk about Threads What is a Thread? – A Thread is a path of execution within a process. A thread is also known as a lightweight process. The idea is to achieve parallelism by dividing a process into multiple threads. -A thread is an active entity as it executes as a part of a […]

Read More THREADS

THE SIMPLICITY OF STACK

Stack, the most frequently used data structure. Stack, as the name suggests, keeps on stacking up the data one above the other. Consider an example of stacking up books in a box. The implementation of stack in your program is similar to that. Stack is often referred to as Last In First Out (LIFO). Why?  […]

Read More THE SIMPLICITY OF STACK