1) IQ Test: 30 ques in 30 mins consisting of difficult quantitative aptitude questions. 2) Algorithm Test: 2 question, either write the code or pseudo… Read More
Tag Archives: MAQ Software
Serialization is to store the tree in a file so that it can be later restored. The structure of the tree must be maintained. Deserialization… Read More
Given the mobile numeric keypad. You can only press buttons that are up, left, right or down to the current button. You are not allowed… Read More
Given three arrays sorted in non-decreasing order, print all common elements in these arrays. Examples: Input: ar1[] = {1, 5, 10, 20, 40, 80} ar2[] = {6,… Read More
1) Written Test: 30 ques in 30 mins consisting of simple quantitative aptitude, 2-3 puzzles. 2) Algorithm Round: 2 question, either write the code or… Read More
30 Multiple Choice Questions ranging from quantitative aptitude and puzzles has to be done in 30 minutes, 25% negative marking was there. Algorithm round There… Read More
What is the factorial of a number? Factorial of a non-negative integer is the multiplication of all positive integers smaller than or equal to n.… Read More
Given a number ‘n’, how to check if n is a Fibonacci number. First few Fibonacci numbers are 0, 1, 1, 2, 3, 5, 8,… Read More
Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words.… Read More
Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars whose heights… Read More
Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars. For simplicity,… Read More
Insertion sort is a simple sorting algorithm that works similar to the way you sort playing cards in your hands. The array is virtually split… Read More
Given a number n, print all primes smaller than or equal to n. It is also given that n is a small number. Example: … Read More
Given a partially filled 9×9 2D array ‘grid[9][9]’, the goal is to assign digits (from 1 to 9) to the empty cells so that every… Read More