Skip to content

PrepBytes Blog

ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING

Log In

Log Out

Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
    • Queue
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • RECURSION
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Algorithms
    • Data Structure
    • Languages
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Segment Tree
      • Stack
      • Queue
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String

Sign in to your account

Forgot your password?

New User? Create Account

Login via OTP

We will send you an one time password on your mobile number

New User? Create Account

Login via OTP

An OTP has been sent to your mobile number please verify it below

Resend OTP in 30 sec
Resend
New User? Create Account

Register with PrepBytes

I agree to the terms and conditions.
Already have a account? Login Here

Day: July 12, 2022

Queues

Sort the Queue using Recursion

Ankit KocharJuly 12, 2022December 14, 2022
Problem Statement: Given a queue, we have to sort the queue using a recursive function without using any loop. We can only use the standard functions for it:- enqueue(element): Add...
Queues

Reversing a Queue

Ankit KocharJuly 12, 2022August 30, 2022
Problem Statement: We have to reverse a queue by using only standard operations:- enqueue(element): Add an element to the rear end of the queue. dequeue(): Delete an element from the...
Queues

Reversing first k elements Queue

Ankit KocharJuly 12, 2022August 30, 2022
Problem Statement: Given a queue, we have to reverse the first k elements which are present in it. What is Queue? A Queue is a linear data structure. Queue follows...
Queues

Reversing Queue using Recursion

Ankit KocharJuly 12, 2022December 14, 2022
Problem Statement: Given a queue, we have to make a recursive function to reverse it. Queue: A Queue is a linear data structure. Queue follows the FIFO rule i.e. First...
Linked list articles

Priority Queue using Doubly Linked List

Ankit KocharJuly 12, 2022December 14, 2022
Problem Statement: Given nodes with their priority, we have to implement a priority queue using a doubly linked list. What is a Priority Queue? Priority queues are abstract data structures...
Queues

Implementation Queue using Javascript

Ankit KocharJuly 12, 2022December 14, 2022
What is a Queue? Queue follows the principle of FIFO (First in First out) i.e. element which is inserted first will be removed first. The operation for insertion of elements...
Queues

Sorting Queue Without Extra Space

Abhishek SharmaJuly 12, 2022August 30, 2022
Queue: The queue is a linear data structure that works on the principle of First in First out (FIFO). In the queue, the element which is added at least recently...
Operating system

Difference Between MLQ And MLFQ CPU Scheduling Algorithms

Abhishek SharmaJuly 12, 2022August 30, 2022
What is Multilevel Queue Scheduling? In multilevel queue scheduling, all the processes are assigned permanently to the queue at the time of entry. Processes will not move between queues and...
Queues

Multilevel Feedback Queue Scheduling MLFQ CPU Scheduling

Abhishek SharmaJuly 12, 2022August 30, 2022
What is Multilevel Queue Scheduling? In multilevel queue scheduling, all the processes are assigned permanently to the queue at the time of entry. Processes will not move between queues and...
Queues

Implement Priority Queue Comparator Java

Abhishek SharmaJuly 12, 2022December 14, 2022
Priority Queue: Priority queue is an abstract data type, It is a type of queue in which each element has a priority assigned to it. The priority of the element...
Queues

Queue Interface Java

Abhishek SharmaJuly 12, 2022December 14, 2022
Firstly, we’ll see what the queue is. Queue A queue is basically a linear data structure that works on the principle of FIFO (First in First out) which means an...
Queues

Priority Queue Class In Java

Abhishek SharmaJuly 12, 2022December 14, 2022
Queue: The queue is a linear data structure that works on the principle of First in First out (FIFO). In the queue, the element which is added at least recently...
Queues

Different Types Of Queues And Its Applications

Abhishek SharmaJuly 12, 2022August 30, 2022
Queue A queue is basically a linear data structure that works on the principle of FIFO (First in First out) which means an element that is enqueued first will be...
Python

Stack, Queue in Python using Module queue

Ankit KocharJuly 12, 2022August 30, 2022
In python, it is quite easy to implement stack and queue data structures. Stack works on the principle of LIFO (Last in First out) i.e. element which is inserted in...
Queues

Priority Queue using Array in C

Ankit KocharJuly 12, 2022August 30, 2022
Priority Queue Priority queues are abstract data structures where each element in the queue has a priority value. For example, in any airline, baggage under the “First-Class” or “Business” arrives...

Pages

  • ALGORITHMS
  • ARRAY
  • BACKTRACKING
  • C PROGRAMMING LANGUAGE
  • C++ PROGRAMMING LANGUAGE
  • CAPGEMINI
  • CIRCULAR LINKED LIST
  • COMPANY PLACEMENT PROCEDURE
  • COMPETITIVE CODING
  • COMPUTATIONAL GEOMETRY
  • CSE SUBJECTS
  • DATA STRUCTURE
  • DOUBLY LINKED LIST
  • DYNAMIC PROGRAMMING
  • GAME THEORY
  • GRAPHS
  • GREEDY ALGORITHM
  • HASHING
  • HEAP
  • INTERVIEW PREPARATION
  • INTERVIEW TIPS
  • JAVA PROGRAMMING LANGUAGE
  • JAVASCRIPT PROGRAMMING LANGUAGE
  • Languages
  • LINKED LIST
  • LINKED LIST USING C
  • MATHEMATICS
  • OPERATING SYSTEM
  • POINTERS
  • PYTHON PROGRAMMING LANGUAGE
  • QUEUE
  • RECURSION
  • SEARCHING
  • SEGMENT TREE
  • SORTING
  • STACK
  • STRING
  • TREES

Recent Articles

  • 1
    January 27, 2023

    What is Final Class in Java?

  • 2
    January 27, 2023

    Linux Operating System

  • 3
    January 27, 2023

    Dangling Pointer in C with Example

  • 4
    January 27, 2023

    Final Keyword in Java

  • 5
    January 27, 2023

    Encapsulation in Java

  • 6
    January 27, 2023

    Polymorphism in Python

Close
Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
    • Queue
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • RECURSION
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Algorithms
    • Data Structure
    • Languages
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Segment Tree
      • Stack
      • Queue
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String
FOLLOW US
CONTACT US
+91-8800 2588 17
contact@prepbytes.com
QUICK LINKS
Interview NotesMock TestsPlacement ProgrammeCoding CoursesMock InterviewAbout UsBlog