ProDeveloperTutorial.com
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
    • Shell Script Tutorial
  • System Design Tutorial

ProDeveloperTutorial.com

  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
    • Shell Script Tutorial
  • System Design Tutorial
ProDeveloperTutorial.com

What are You Looking For?

  • Coding Interview Questions
  • C++ Tutorial
  • DataStructure and Algorithms
  • C Language Tutorial
ProDeveloperTutorial
onJanuary 19, 2025

Reverse the first “K” elements of a queue

Problem Statement: You are given a queue and an element k, you need to reverse the first ‘k’ elements in the queue. Example Input:…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Queue Reversal

Problem Statement: Given a queue, you need to reverse it. Solution This problem can be solved in 2 different methods. Method 1: Using stack.…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Stack: Check if a stack is a permutation of another stack

Problem Statement: You are given 2 array, check one array is permutation of another array. Example Input : First array: 1, 2, 3 Second array:…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Implement Stack using Queues

Problem Statement: You need to create stack data structure using only queue data structure. Solution As we know that for stack insertion and…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Stack: Expression contains redundant bracket or not

Problem Statement: You are given an expression in the form of a string. You need to check if the string has redundant brackets. Example Input:…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Stack: Length of the longest valid substring

Problem Statement: You are given a string, you need to find the length of longest valid parenthesis. Example Input : ((() Output : 2 Solution…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Largest Rectangular Area in a Histogram

Problem Statement: You are given an array that represents a bar in a histogram. You need to find out the largest rectangle that can be made…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Sort a stack

Problem Statement: You are given a stack, you need to sort it. Solution This problem can be solved in 2 different methods: 1. Sorting using…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Stack: Reverse a stack using recursion

Problem Statement: You are given a stack, you need to reverse the stack without using while, for. You need to reverse using recursion.…
Discover More
ProDeveloperTutorial
onJanuary 19, 2025

Insert at the end of stack

Problem Statement: You are given an element, you need to insert it at the end of the stach without using any data structure. Solution Solution…
Discover More

Posts pagination

Previous 1 … 26 27 28 … 70 Next
ProDeveloperTutorial.com
Tutorials and Programming Solutions
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
    • Shell Script Tutorial
  • System Design Tutorial
© 2024 — ProDeveloperTutorial. All Rights Reserved.