MediumTop K Frequent ElementsProblem Statement In top K frequent elements we have given an array nums[], find the k most read more
EasyLevel order traversal using two QueuesProblem Statement The problem “Level order traversal using two Queues” states that you read more
MediumFind the First Circular Tour that visits all the Petrol PumpsProblem Statement The problem “Find the First Circular Tour that visits all the Petrol read more
MediumMinimum sum of squares of character counts in a given string after removing k charactersProblem Statement The problem “Minimum sum of squares of character counts in a given string read more
EasyFirst negative integer in every window of size kProblem Statement The problem “First negative integer in every window of size k” states read more
EasyQueue based approach for first non-repeating character in a streamProblem Statement The problem “Queue based approach for first non-repeating character in a read more
EasyDistance of nearest cell having 1 in a binary matrixProblem Statement The problem “Distance of nearest cell having 1 in a binary matrix” read more
MediumSum of minimum and maximum elements of all subarrays of size kProblem Statement The problem “Sum of minimum and maximum elements of all subarrays of size read more
EasyFind the largest multiple of 3Problem Statement The problem “Find the largest multiple of 3” states that you are read more
EasyCheck if a queue can be sorted into another queue using a stackProblem Statement The problem “Check if a queue can be sorted into another queue using a read more
MediumPriority Queue using doubly linked listProblem Statement The problem “Priority Queue using doubly linked list” asks to read more
EasyImplement Stack and Queue using DequeProblem Statement The problem “Implement Stack and Queue using Deque” states to write read more
EasyImplementation of Deque using circular arrayProblem Statement “Implementation of Deque using circular array” asks to implement the read more
Priority Queue Using Singly Linked ListIn priority queue using a singly linked list problem, we need to implement a priority queue by read more
Reversing the First K elements of a QueueIn reversing the first K elements of a queue problem we have given a queue and a number k, reverse read more
Sorting a Queue without Extra SpaceIn sorting a queue without extra space problem we have given a queue, sort it using standard queue read more
Reversing a Queue using RecursionIn reversing a queue using recursion problem we have given a queue, write a recursive algorithm to read more
Queue using StacksIn queue using a stack problem, we have to implement the following functions of a queue using the read more
Reversing a QueueIn Reversing a Queue problem we have given a queue, write an algorithm to reverse the queue. read more
Priority Queue in C++FIFO manner is used to implement a queue. In a queue, insertions are done at one end (rear) and read more
Priority QueueA priority queue is a type of data structure which is similar to a regular queue but has a priority read more