  Get free ebooK with 50 must do coding Question for Product Based Companies solved
Fill the details & get ebook over email  Thank You!
We have sent the Ebook on 50 Must Do Coding Questions for Product Based Companies Solved over your email. All the best!

## Time complexity of building a heap

Heapify is a common operation performed on binary heaps, which are data structures that are used to implement priority queues. It involves rearranging the elements in a heap to maintain...

## Print Next Greater number of Q queries

Problem statement You are given an integer array of size n and q queries. Your task is to find the next greater element for each query. Each query consists of...

## C++ Programs to Convert Binary to Decimal Number

The binary is a base-2 numbering system that uses only two digits, 0 and 1, to represent numbers. Decimal is a base-10 numbering system that uses ten digits, 0 through...

## Heap sort in Java

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 ....

## Min Heap in Java

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 overflow and Stack overflow

The computer’s RAM has a few sections in it. Two of them are heap and stack. Both heap and stack store variables. Let's see about Heap and Stack briefly:- Both...

## Next Greater Frequency Element

Problem statement Given an array, consisting of n elements, find the next greater frequency element of each element. The next greater frequency element of any element is the first element...

## Evaluation of Postfix Expression

Arithmetic Expression An Arithmetic expression is a finite combination of arithmetic operands, operators and brackets. The common way of representing an arithmetic expression is by using infix notation. In infix...

## Arithmetic Expression Evaluation

Arithmetic expression evaluation is the process of computing the value of a mathematical expression containing arithmetic operators, such as addition, subtraction, multiplication, and division, along with parentheses and operands. Before...

## Next Greater Element

Problem statement Given an array, consisting of n elements, find the next greater element of each element. The next greater element of any element is the first larger element to...

## Check for Balanced Parentheses in an Expression

In computer science, balanced parentheses are a common requirement for many programming languages and applications. Balanced parentheses refer to an expression in which all opening and closing parentheses are properly...

## How to Solve Stock Span Problem?

What is Stock Span Problem: Stock span problem is a commercial problem where we have a series of N prices on the daily basis. And you need to calculate the...

## Max Heap in Java

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 ....

## Implement a Stack Using Single Queue

Problem statement: We have to build a stack with a single queue. What is a Stack? Stack is a linear data structure in which a user can insert and delete...