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

Aman Kumar

Stacks

Delete Middle Element of the Stack

Aman KumarSeptember 12, 2022October 3, 2022
Problem statement Given a stack of integers , delete the middle element of the stack using only standard stack operations like push , pop , size , empty . If...
Stacks

Sort an array using stacks

Aman KumarSeptember 12, 2022December 14, 2022
Problem statement Given an array of integers of size N , sort it in increasing order using a stack. Example : Sample input : 4 2 3 1 5 Sample...
Arrays

Delete Array Elements Which Are Smaller Than Next Or Become Smaller

Aman KumarSeptember 12, 2022October 3, 2022
Problem statement Given an array of integers of size n . You have to delete every element which is smaller than the next element or become smaller than the next...
Stacks

Check If A Queue Can Be Sorted Into Another Queue Using A Stack

Aman KumarSeptember 12, 2022December 14, 2022
Problem statement Given a queue having N numbers . Numbers in the queue is a permutation of first N natural numbers (1 to N) . You have to find out...
Stacks

Conversion Infix notation to Prefix notation

Aman KumarAugust 30, 2022September 15, 2022
Problem statement Given an Infix arithmetic expression , convert it into an equivalent prefix expression. Expression will be given in the form of string , where alphabetic characters i.e a-z...
Stacks

Conversion of Postfix expression to Infix expression

Aman KumarAugust 30, 2022October 10, 2022
Problem statement Given an arithmetic expression in postfix notation , convert it into the equivalent infix notation. Sample example : Postfix Input : abc/-ad/e-* Infix output : ((a-(b/c))*((a/d)-e)) Postfix input...
Stacks

Postfix to Prefix Conversion

Aman KumarAugust 30, 2022September 15, 2022
Problem statement Given an arithmetic expression in postfix notation , convert it into the equivalent prefix notation. Sample example : Postfix input: abc/-ad/e-* Prefix output: *-a/bc-/ade Postfix input : ab*...
Stacks

Conversion of Prefix to Postfix notation

Aman KumarAugust 30, 2022September 15, 2022
Problem statement Given an arithmetic expression in prefix notation , convert it into the equivalent postfix notation. Sample example : Prefix Input : *-a/bc-/ade Postfix output : abc/-ad/e-* Prefix input:...
Stacks

Conversion of Prefix expression to Infix expression

Aman KumarAugust 30, 2022October 10, 2022
Problem statement Given an arithmetic expression in prefix notation , convert it into the equivalent infix notation. Sample example : Prefix Input : *-a/bc-/ade Infix output : ((a-(b/c))*((a/d)-e)) Prefix input...
Stacks

Infix to Postfix Conversion using Stack

Aman KumarAugust 30, 2022November 24, 2022
Given an Infix arithmetic expression , convert it into an equivalent postfix expression . Expression will be given in the form of string , where alphabetic characters i.e a-z or...
Heap

Heap sort in Java

Aman KumarAugust 25, 2022December 14, 2022
What is heap? Heap is a special kind of complete binary tree in which the all node has a value greater (or smaller ) than all of its children ....
Heap

Min Heap in Java

Aman KumarAugust 25, 2022December 14, 2022
What is Heap? Heap is a special kind of complete binary tree in which the all node has a value greater (or smaller ) than all of its children ....
Heap

Max Heap in Java

Aman KumarAugust 25, 2022December 14, 2022
What is Heap? Heap is a special kind of complete binary tree in which the all node has a value greater (or smaller ) than all of its children ....

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