Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?
Explain what is OOPS and its concepts?
Where do we need Operator overloading?
Write a program to reverse a number?
Write a program to find duplicate number from array in minimum time complexity.
Write a program to show polymorphism.
Explain encapsulation in C++.
What is the merger sort principle and its time complexity.
Explain with examples any 2 features of OOPS.
Differentiate between a structure and a union.