## Evaluation of Prefix Expressions (Polish Notation) | Set 1

Prefix notation is a notation for writing arithmetic expressions in which the operands appear after their operators. There are no … Read more

Prefix notation is a notation for writing arithmetic expressions in which the operands appear after their operators. There are no … Read more

Earlier we had discussed how to evaluate postfix expressions where operands are of single-digit. In this article, we will discuss … Read more

Postfix notation is a notation for writing arithmetic expressions in which the operands appear before their operators. There are no … Read more

Objective: Given a range, find all the numbers in the range which has prime set bits. Example: L = 4, … Read more

Objective: Given a number with N digits, write a program to get the smallest number possible after removing k digits … Read more

Given a string with alphabets and numbers. Write an algorithm to find the maximum number in the string. If any … Read more

Objective: Given a Prefix expression, write an algorithm to convert it into Postfix expression. Example: Input: Prefix expression: + A … Read more

Objective: Given a Roman number, write a program to convert it to Integer. Roman Number – Letters used in … Read more

Objective: Given a Postfix expression, write an algorithm to convert it into prefix expression. Example: Input: Postfix expression: A B … Read more

Objective: Given an Integer, write a program to convert it to Roman number. This problem can be stated as “Convert … Read more

Objective: Write a recursive function to implement atoi, which converts string to an integer. Rules for converting string to an … Read more

Objective: Given a number N, Write a program to find all prime numbers which are between 0 and N using … Read more

Objective: Given a Postfix expression, write an algorithm to convert it into Infix expression. Example: Input: Postfix expression: A B … Read more

The Collatz conjecture is a conjecture in mathematics which states that no matter what value of Positive Number N, If … Read more

Objective: Implement atoi, which converts string to an integer. Rules for converting string to an integer. If the string is … Read more