## Find the number of pairs with odd XOR

Given an array of integers, write a program to find the number of pairs for which the XOR is an … Read more

Given an array of integers, write a program to find the number of pairs for which the XOR is an … Read more

Given two versions of a software, write an algorithm to find out which version is the latest. Example: Version A: … Read more

Objective: Given an array of integers, write a program to count all the pairs with the given sum. Example: Given … Read more

Objective: Given an array of integers, and k. Write a program to find indexes of two elements in an array … Read more

Objective: Given an array of integers, find the sum of any three elements which is closest to zero. The array … Read more

Objective: Given two sets of integers, write an algorithm to print the sum of overlapping elements in two sets. Note: … Read more

Objective: Given a binary tree, write an algorithm to check if the tree is Full or not. Full binary tree: … Read more

Objective: Given a stack, write a program to print the stack elements in reverse order. Example: Approach: Use Temporary stack: … Read more

Prefix notation is a notation for writing arithmetic expressions in which the operands appear after their operators. There are no … 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 a Postfix expression, write an algorithm to convert it into Infix expression. Example: Input: Postfix expression: A B … Read more

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