| Other C++ Code Interview Questions |
|| Asked @
|How reader and writer problem was implemented and come up
with effective solution for reader and writer problem in
case we have n readers and 1 writer.
|A string of charaters were given. Find the highest
occurance of a character and display that character.
eg.: INPUT: AEGBCNAVNEETGUPTAEDAGPE
|what is the diffrence between ++x , x++ pleaaaaase ???
Its result is Rose Lotus Lotus.. How? Explain it?
Write an algorithm that finds both the smallest and
largest numbers in a list of n numbers and with complexity
T(n) is at most about (1.5)n comparisons.
|1.program to add any two objects using operator overloading
2.program to add any two objects using constructors
3.program to add any two objects using binary operator
4.program to add any two objects using unary operator
|Perform the functionality of 2-D array through 1-D array
and in it the functions to be performed were:
(1) Display the array in 2-D format
(2) Display a particular element
(3) Display a particular row
(4) Display a particular column
|Given 1 to n random number, find top 10 maximum numbers and
explain the time complexity of the algorithm.
|hello friends, given an expression we have to remove the
unwanted brackets in that expression.
Eg : (a+b) ---> a+b
(a+b)*(c)-----> (a+b)*c. Please mail me if you know
the logic. My mail id is : firstname.lastname@example.org.
Thank you in advance :-)
|write a function – oriented program that calculates the sum
of the squares from 1 to n. thus, if the input is 3, the
output is 14
|Wrie a function which returns the most frequent number in a
list of integers. Handle the case of more than one number
which meets this criterion.
public static int GetFrequency(int list)
|Show by induction that 2n > n2, for all n > 4.
|For more C++ Code Interview Questions Click Here |