Skip to content

Category Archives: Queue

Given a string of lowercase alphabets and a number k, the task is to print the minimum value of the string after removal of ‘k’… Read More
Given an array and a positive integer k, find the first negative integer for each window(contiguous subarray) of size k. If a window does not… Read More
Given a Binary Tree, print the nodes level wise, each level on a new line.  Output: 1 2 3 4 5 Recommended: Please solve it… Read More
Senior Android developer(4-8 years) Qualification & Experience- · 4-8 years of experience in software development · Experience in Mobile App development in Android is a… Read More
A Priority Queue is different from a normal queue, because instead of being a “first-in-first-out”, values come out in order by priority. It is an… Read More
Prerequisite – Circular Singly Linked List We have discussed basics and how to implement circular queue using array in set 1. Circular Queue | Set… Read More
  Prerequisite – QueuesCircular Queue is a linear data structure in which the operations are performed based on FIFO (First In First Out) principle and… Read More
I want to share my interview experience with Paytm with all of you. Round-1 [1.5 hr] Brief introduction Discussion about project why are you using… Read More
Deque or Double Ended Queue is a generalized version of Queue data structure that allows insert and delete at both ends.In previous post we had… Read More
Given a binary matrix of N x M, containing at least a value 1. The task is to find the distance of nearest 1 in… Read More
Given a square chessboard of N x N size, the position of Knight and position of a target is given. We need to find out… Read More
Given an array of both positive and negative integers, the task is to compute sum of minimum and maximum elements of all sub-array of size… Read More
Given an array of digits (values are from 0 to 9), find the minimum possible sum of two numbers formed from digits of the array.… Read More
Given a Binary Tree having positive and negative nodes, the task is to find the maximum sum level in it. Examples:  Input : 4 /… Read More
I recently go interviewed for MakeMyTrip Developer position. I had 5 rounds: Round 1: 1) Reverse a Linked List – You should be able to… Read More