Posts

Showing posts from April, 2023

Intro to Algorithms and Data Structures | DSA | Rahul

 Intro to Algorithms and Data Structures | DSA | Rahul Watch the video using headphones...sorry for the poor audio clarity. The video is indeed longer, but covers all the topics required for UNIT 1 of DSA. Watch this video in 1.5x if you want, coz the video is litter longer and I hope it will be useful. The program uses the concept of arrays and stacks understanding it completely is obviously little tough, and I tried to complete it as best as I can and I hope you will find it useful. Try to visualize the concept and learn. Kindly comment down the pros and cons of the video. So tha will improve myself. Presentation Link Video Link Welcome to this informative video on Algorithm Specification, Recursion, Performance Analysis, Asymptotic Notations, Programming Style, Time Space Trade Off, and Data Abstraction. In this video, we'll take a closer look at these important topics that are crucial for any programmer, software engineer, or computer science student. First, we'll

Queue Data Structure Implementation using Arrays | Lab 3 | Logic and Program | Tamil | MPR

  Introduction In computer science, data structures play an essential role in organizing and storing data. One such data structure is a queue, which is used to store elements in a linear manner. In a queue, elements are stored in a first-in, first-out (FIFO) order. This means that the element that is added first to the queue is the first one to be removed. In this blog post, we will explore the queue data structure in detail, including its implementation, operations, and applications. Implementation of a Queue A queue can be implemented using an array or a linked list. In an array-based implementation, we use a fixed-size array to store the elements of the queue. We keep two pointers, one pointing to the front of the queue and the other pointing to the rear of the queue. When an element is added to the queue, it is added to the rear end of the array. When an element is removed from the queue, it is removed from the front end of the array. The array-based implementation has a disadvanta