Problem Statement: Implement Queue using Singly LinkedList Prerequisites: Queue and LinkedList Data Structure. Detailed Explanation of the Queue and LinkedList
Continue readingCategory: Queue
Reversing a Queue
Problem Statement: Given a queue with several elements, Your task is to reverse the queue. Operations allowed on queue data-structure
Continue readingQueue in Data Structure
What is Queue? A queue is a linear list of elements in which deletions can take place only at one
Continue readingImplement Queue Using Array
Problem Statement: Implement Queue Data Structure using Array with all functions like pop, push, top, size, etc. Example: Input: push(4) push(14)
Continue readingImplement Queue using Stack
Problem Statement: Given a Stack having some elements stored in it. Can you implement aQueue using the given Stack? Queue:
Continue readingSliding Window Maximum
Problem Statement: Given an array of integers arr, there is a sliding window of size k which is moving from
Continue readingRotten Oranges : Min time to rot all oranges : BFS
Problem Statement: You will be given an m x n grid, where each cell has the following values : 2
Continue reading