Assume an array of structure is in order by studentID field
of the record, where student IDs go from 101 to 500. Write
the most efficient pseudocode algorithm you can to find the
record with a specific studentID if every single student ID
from 101 to 500 is used and the array has 400 elements.

Write the most efficient pseudocode algorithm you can to
find a record with a studentID near the end of the IDs, say
in the range from 450 to 500, if not every single student
ID in the range of 101 to 500 is used and the array size is
only 300


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is a protocol class?

1 Answers  


How to change constant values?

6 Answers   Huawei, Symphony,


What is switch case in c++ syntax?

0 Answers  


What is #include sstream?

0 Answers  


What is a pdb file?

0 Answers  






write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

0 Answers  


Are there any special rules about inlining?

0 Answers  


What is c++ hash?

0 Answers  


What is set in c++?

0 Answers  


Explain the isa and hasa class relationships.

0 Answers  


What are the five types of inheritance in C++?

1 Answers  


If there are two catch statements, one for base and one for derived, which should come first?

0 Answers  


Categories